Thread
:
Ultimate Revive
View Single Post
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
08-25-2008 , 12:07 Re: Ultimate Revive
#
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`
View Public Profile
Send a private message to Emp`
Find More Posts by Emp`