SA-MP Forums Archive
IsPlayerInCheckpoint or IsPlayerInRangeOfPoint - 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: IsPlayerInCheckpoint or IsPlayerInRangeOfPoint (/showthread.php?tid=264187)



IsPlayerInCheckpoint or IsPlayerInRangeOfPoint - nejc001 - 25.06.2011

Im using a streamer plugin. And im wondering should i make a new checkpoint IDs for all checkpoints which means i need to create a lot of new variables. Or its faster for server just to have IsPlayerInRangeOfPoint on the point where checkpoint is, without any variables. What uses less resources?


Re: IsPlayerInCheckpoint or IsPlayerInRangeOfPoint - Tachibana - 25.06.2011

IsPlayerInCheckpoint uses streamer if I am not wrong so it does take resources and I think IsPlayerInRangeOfPoint is better since it does not make checkpoints and you can do pickups with IsPlayerInRangeOfPoint and add GameTextToPlayer or how it is called all tho it is easier and looks better (for me)