I need that value[client] is reset every time if round ends, however this does not happen, I'm doing something wrong?
PHP Code:
public plugin_init()
{
register_logevent("logevent_round_end", 2, "1=Round_End"); // Round end event
}
public logevent_round_end(client)
{
value[client] = 0;
}
public respawnCMD(client)
{
value[client] += 1;
}
Thanks for help.
__________________
My Plugins |
VIEW HERE | I accept private requests, send me a PM.

Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet
CZSBrasil TEAM