SA-MP Forums Archive
[HELP] checkpoint id? - 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] checkpoint id? (/showthread.php?tid=122181)



[HELP] checkpoint id? - akis_tze - 20.01.2010

what is the checkpoints id?


Re: [HELP] checkpoint id? - Lajko1 - 20.01.2010

i never heard for CHECKPOINTS id ... i think just pickups have their ids ?


Re: [HELP] checkpoint id? - thiaZ_ - 20.01.2010

pawn Код:
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
Quote:

This function does not return a specific value, it's best to simply ignore it.

there isn't any "checkpoint id" because you can only show 1 checkpoint at a time.

In case you are using a checkpointstreamer like 007's DOCP you can get a player checkpoint by using
pawn Код:
GetPlayerCheckpoint(playerid)
//that was just an example
maybe you can use IsPlayerInCheckpoint(playerid) to get the checkpoint.



Re: [HELP] checkpoint id? - akis_tze - 20.01.2010

i mean i want make a pickup witch looks like checkpoint for that i ask checkpoints id