Quote:
Originally Posted by HostedPlayerss
PHP код:
new bool:onCheck[MAX_PLAYERS];
public OnPlayerEnterCheckpoint(playerid)
{
if(onCheck[playerid])
{
DisablePlayerCheckpoint(playerid);
onCheck[playerid] = false;
}
return 1;
}
Ou Simplesmente use
PHP код:
DisablePlayerCheckpoint(playerid);
|
A array onCheck sempre estarб negativa, entгo qual o sentido?