@airsoft
pawn Код:
//Player Update
public OnPlayerUpdate(playerid)
{
SetTimer("HealthCheck",2000,true);
return 1;
}
Should be on
pawn Код:
OnGameModeInit()
{
SetTimer("HealthCheck",2000,true);
return 0;
}
You only need to set the timer once (not even per player, because it does already have a loop), and OnPlayerUpdate is called hundreds of timers per second which means an overkill of timers (aka crashes or HUUUUUGE lag).