public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, koordináta, 3.0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
GameTextForPlayer(playerid,\"~g~Beléptél a checkpointba\",1500,6);
return 1;
}
[mod]CODE tageket máskor![/mod]
CMD:szallit(playerid, params[])
{
SetPlayerCheckpoint(playerid, x, y, z, 3.0);
SendClientMessage(playerid, szinkod, \"Menj a checkponthoz\");
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
SendClientMessage(playerid, szinkod, \"Menj tovább\");
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, x, y, z, 3.0); //ide ird a koordinátá( elsõ 3 pl: 4614.5, 6141.4, 40.2
SendClientMessage(playerid, szinkod, \"Menj tovább\"); //szinkodokat itt \"csinalj\":D http://sampforum.hu/index.php?page=color
DisablePlayerCheckpoint(playerid);
return 1;
}