how put make checkpoint here? - 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)
+--- Thread: how put make checkpoint here? (
/showthread.php?tid=455210)
how put make checkpoint here? -
UserName31 - 31.07.2013
hey i want to make check point here how do i break this
PHP код:
AddPlayerClass(270,826.7159,-1353.6890,13.5368,271.9927,0,0,0,0,0,0); // rob machines 1.0
to put it on a checkpoint coordinate like this one
PHP код:
{2174.755615, -2249.109130, 13.303812, 3.0},
?
Re: how put make checkpoint here? -
Th3_P4dr1n0 - 31.07.2013
"AddPlayerClass(skin, Float

, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)"
So just copy the first 3 floats:
Код:
{826.7159,-1353.6890,13.5368, 3.0},
The 3.0 is checkpoint size.
Re: how put make checkpoint here? -
ReVo_ - 01.08.2013
Код:
SetPlayerCheckpoint (playerid, 826.7159,-1353.6890,13.5368, 3.0);
https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint