Simple Question. - 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: Simple Question. (
/showthread.php?tid=374777)
Simple Question. -
_Khaled_ - 04.09.2012
How to hide a checkpoint from the player's map/radar.??
pawn Код:
SetPlayerCheckpoint(playerid, 2159.20,943.23,10.82, 2.0);
Re: Simple Question. -
ThePhenix - 04.09.2012
DisablePlayerCheckpoint(playerid);
Re: Simple Question. -
_Khaled_ - 04.09.2012
Hide it, not disable it, now it's not even there
I just need to remove it from the map :/
Re: Simple Question. -
_Khaled_ - 04.09.2012
Bump, someone?
Re: Simple Question. -
ReneG - 04.09.2012
Get the streamer plugin by Incognito.
These are the functions that come with the CP's
pawn Код:
// Checkpoint Natives
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
native DestroyDynamicCP(checkpointid);
native IsValidDynamicCP(checkpointid);
native TogglePlayerDynamicCP(playerid, checkpointid, toggle);
native TogglePlayerAllDynamicCPs(playerid, toggle);
native IsPlayerInDynamicCP(playerid, checkpointid);
native GetPlayerVisibleDynamicCP(playerid);
native DestroyAllDynamicCPs();
native CountDynamicCPs();
The default sa-mp CP system doesn't support toggling of specific points.