25.06.2014, 15:17
Alright, correct me if I'm wrong. It should go like this:
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
if(lawnmower[playerid] == 1)
{
DisablePlayerCheckpoint(playerid;
SetPlayerCheckpoint(playerid, size,x,y,z);
}
if(lawnmower[playerid] == 1)
{
DisablePlayerCheckpoint(playerid;
SetPlayerCheckpoint(playerid, size,x,y,z);
}
return 1;
}
// and so on..? or?