01.05.2016, 15:54
So if you want to create checkpoint on playe spawn it would go like this
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 2090.0127,1514.6372,10.8203,221.7098,0,0,0,0,0,0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
SetPlayerPos(1132.9397,-10.3007,1000.6797,0.2041,0,0,0,0,0,0);
DisablePlayerCheckpoint(playerid);
return 1;
}

