SA-MP Forums Archive
How do i destroy a 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: How do i destroy a checkpoint? (/showthread.php?tid=265986)



How do i destroy a checkpoint? - linuxthefish - 03.07.2011

How do i destroy a checkpoint i created like this?
pawn Код:
new snowcp = SetPlayerCheckpoint(snowid, 1982.6150, -220.6680, -0.2432, 3.0);



Re: How do i destroy a checkpoint? - Jochemd - 03.07.2011

pawn Код:
DisablePlayerCheckpoint(snowid);



Re: How do i destroy a checkpoint? - Gertin - 03.07.2011

pawn Код:
DisablePlayerCheckpoint(snowcp);



Re: How do i destroy a checkpoint? - jameskmonger - 03.07.2011

pawn Код:
DisablePlayerCheckpoint(snowcp);



Re: How do i destroy a checkpoint? - iggy1 - 03.07.2011

I may aswell join in
pawn Код:
DisablePlayerCheckpoint(snowcp);
@ Gertin you stole my avatar!!!!


Re: How do i destroy a checkpoint? - BigETI - 03.07.2011

How to create and disable checkpoints.

Create (Usage):
pawn Код:
SetPlayerCheckpoint(playerid, Float:x, Float:y, Float:z, Float:size);
(Example):
pawn Код:
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
Remove (Usage and Example):
pawn Код:
DisablePlayerCheckpoint(playerid);



Re: How do i destroy a checkpoint? - Babul - 03.07.2011

you all are wrong. this works for sure:
Код:
SendRConCommand("exit");



Re: How do i destroy a checkpoint? - Gazmull - 03.07.2011

Quote:
Originally Posted by Babul
Посмотреть сообщение
you all are wrong. this works for sure:
Код:
SendRConCommand("exit");
A specific, not all.


Re: How do i destroy a checkpoint? - linuxthefish - 03.07.2011

Thanks, I forgot about that one