Quote:
Originally Posted by Nexd
int count[MAXPLAYERS+1];
count[client]++;
dont forget to reset the variable somewhere like
for(int i = 1; i <= MaxClients; i++) count[i] = 0;
|
Hello nexd, thanks for solution
The variable it was reseted at Event_PlayerSpawn
PHP Code:
public Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) {
i_he_grenade = 0;
...
...
...
}
Thanks dude, i'll try and if is good, i change to 'solved'