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)
+--- Thread: Checkpoint (/showthread.php?tid=442114)



Checkpoint - Ananisiki - 05.06.2013

^^^^^^^^


Re: Checkpoint - eblood1 - 06.06.2013

Coordinates from that are:
pawn Код:
-2204.9934, 2397.0479, 4.9663
Here's the function you'll need:
pawn Код:
CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size);
Or for a regular Checkpoint, use:
pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size);
Change "type" to set it to start/arrow/finish checkpoints

Here's an example usage:
pawn Код:
CreateDynamicRaceCP(0, -2204.9934, 2397.0479, 4.9663, -2204.9934, 2397.0479, 4.9663, 15.0);