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



Help Please / Checkpoint - NewbBeginner - 07.02.2011

HEYA.

Iam using Streamer.
What is the distance of checkpoint that it'll show checkpoint mark ( that red ) on the whole map ?


Re: Help Please / Checkpoint - Stigg - 07.02.2011

What streamer you using ?

Peace...


Re: Help Please / Checkpoint - NewbBeginner - 07.02.2011

http://forum.sa-mp.com/showthread.ph...light=streamer


Re: Help Please / Checkpoint - TheArcher - 07.02.2011

Just read the natives of checkpoints:

Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
native DestroyDynamicCP(checkpointid);
native IsValidDynamicCP(checkpointid);
native TogglePlayerDynamicCP(playerid, checkpointid, toggle);
native TogglePlayerAllDynamicCPs(playerid, toggle);
native IsPlayerInDynamicCP(playerid, checkpointid);
native DestroyAllDynamicCPs();
native CountDynamicCPs();
If you are searching CreateDynamicCP so the deafult view distance is 100


Re: Help Please / Checkpoint - NewbBeginner - 07.02.2011

And how can I change it to 100000 or something, ? it shows only if Im near to it.