PDA

View Full Version : Porting this plugin


blobby
01-14-2008, 03:43 PM
Hello all

After trying many time to add more sounds to the dod_stats sound plugin i though what the hell ill just port the one i have from cs to dod i have added lots of sounds to it and they all work on cs so now to port it over to dod i have been getting on ok with it until i came to this part of the code
new name1[32], name2[32]
get_user_name(players_ct[0],name1,32)
get_user_name(players_t[0],name2,32)

Where it says ct and t what would i put there ive looked over the include files but i cant see nothing in there any help will be great

Regards and thanks

Blobby

diamond-optic
01-14-2008, 04:57 PM
well it would depend on the rest of the plugin..

as those are variables for the client id

johnnyskid
01-15-2008, 03:52 AM
Hope that this one gets worked out. Sounds great!!!

blobby
01-16-2008, 10:06 AM
Oh yeah ill get there its just gonna take a while because there is allot of code to the plugin but ill post it up when ive got it working :P