I did my search already, found nothing.
PHP Code:
new bool:TimerActive[64]
public OnClientPutInServer(client) {
...
TimerActive[client] = false
return Plugin_Continue
}
public Action:PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) {
if(TimerActive[client] == false) {
...
}
TimerActive[client] = true
}
return Plugin_Continue;
}
public PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) {
...
if(Timer5Active[victim] == true) {
Timer5Active[victim] = false
}
return Plugin_Continue
}
For some reason when I spawn in the game, PlayerSpawn does not do what it should.
__________________