Thread: Ultimate Revive
View Single Post
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 08-25-2008 , 12:07   Re: Ultimate Revive
Reply With Quote #2

No point in having these as globals: new name[32],namet[32],teamname[24],tname[16];

No need for this if(!arg3[0]) armor = 0 (if it is not a valid num str_to_num returns 0)

Instead of copying a tname, it is better to just use get_players within the if statements.

get_players is known to be buggy with the 'e' flag. (would recommend using another method to find players on a team)

I recommend you using @ALL instead of just @ as most other plugins use @ALL.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`