SA-MP Forums Archive
Checkpoint - 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: Checkpoint (/showthread.php?tid=130199)



Checkpoint - Chrham_2 - 25.02.2010

hello. how can I make a checkpoint appear on player "wanted"?
How do I declare their positions?

Код:
SetPlayerCheckpoint(playerid, wantedx, wantedy, wantedz, 5.0);



Re: Checkpoint - Miguel - 25.02.2010

Using GetPlayerPos(playerid, varx, vary, varz) and a timer if you want to update the checkpoint position.


Re: Checkpoint - Chrham_2 - 25.02.2010

Quote:
Originally Posted by SAWC™
Using GetPlayerPos(playerid, varx, vary, varz) and a timer if you want to update the checkpoint position.
i know, but how do i declare varx, vary, varz or in my case wantedx, wantedy and wantedz