SA-MP Forums Archive
How to create a /Robstore system? - 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: How to create a /Robstore system? (/showthread.php?tid=387098)



How to create a /Robstore system? - Simplyfrag - 23.10.2012

How to create a /Robstore system?


Re: How to create a /Robstore system? - Abhishek. - 23.10.2012

well the tips are
*check about him being dead and in the server arrested spawn and a cop and more things
*now have some things random of 5000 or less counts
like new chances = random(5000);
so if you can make the condition like if the chances are less than 50 he fails to rob the and more then he passes
*also after a store getting robbed store the CP id somewhere and a timer to remove it so you cannot rob the same store again and again till the timer endes
EDIT:* and ya send a message to all cops after the robbery endes
* and dont forget to give cash and wanted level to the player who has robbed the store.:P


Re: How to create a /Robstore system? - _Khaled_ - 23.10.2012

Isn't that easy, no one would post you a whole robbing system, look through CnR Scripts, and start by your own to make it unique and different.