multiple checkpoints - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: multiple checkpoints (
/showthread.php?tid=64396)
multiple checkpoints -
StrickenKid - 04.02.2009
i want to be able to set mutiple
SetPlayerCheckpoint`s all arround my map but its only loading 1??
i scripted it like for example:
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 2462.5984 , 2245.0117 , 10.8203 , 2);
return 1;
}
and also how do you do multiple actions for the multiple checkpiints?
heres an example of only 1
Код:
public OnPlayerEnterCheckpoint(playerid)
{
SendClientMessage(playerid, COLOR_YELLOW, "Type /Skydive To Skydive!");
SetPlayerInterior(playerid,9);
SetPlayerPos(playerid,315.84,991.42,1958.32);
}
but that doest specify which checkpoint!
plz help!