help how to add robbing check point?? - 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: help how to add robbing check point?? (
/showthread.php?tid=273178)
help how to add robbing check point?? -
UserName31 - 31.07.2011
how to make a robbing check point in here like with /robbank
is for a cops and robber server please how you add robbank there like tell me base script like put the checkpoint in there were i am standing at
Re: help how to add robbing check point?? -
Toreno - 31.07.2011
You need to take the coordinates by typing the current command at a specific place, /save is the command.
Then you'll find it on GTA San Andreas User Files -> SAMP 0> savedpositions.txt, your coordinates will be there so snap them and then use the specific function.
IsPlayerInRangeOfPoint, when player uses the command /robbank, check if he stays in distance of 2.5 away from the coordinates, with this function.
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Re: help how to add robbing check point?? -
UserName31 - 31.07.2011
it dint help plz do it for me here is the /save code i get
Quote:
AddPlayerClass(266,2308.3496,-4.7885,26.7422,254.9526,0,0,0,0,0,0); //
|
i not good scripet
Re: help how to add robbing check point?? -
Toreno - 31.07.2011
You need to have a big of knowledge, otherwise, people won't script for you the whole mode.
You can find ready filterscripts of robbing a bank, read them and decrypt them to get more knowledge.
Re: help how to add robbing check point?? -
Kerlan - 23.06.2012
PM me i can help you if u wish