[FilterScript] Robbing Bank System [NEW]
#1

Hello, i\'ve decided to make a new robbing system. It\'s not just go inside the bank and /robbank.


Ok so, first thing you must do is buy the bag, you can buy it on 24/7 stores, just head inside and /buy



After you got the bag, you must bribe the Security Guard, it will cost you 50k.


After bribing, you must hack into the system [turning the cameras off etc...]


Then you must quickly head upstairs and finally rob the bank.


After the robbing, you get to hold the bag. But if you fail to do all things within 1 minute, you will get wanted.


And if you want to remove the stars you must go to The Hideout in Las Brujas and /hidemoney


Additional Info: -You can remove the /hidemoney command if you wan\'t this system for a Hard RP server, or just simply you don\'t want to let the players escape jail so easily.

- The Bank Location is at City Planning Department at Las Venturas.
-You can increase the timer for robbing, as it\'s impossible to do all the things under 1 minute.

Example:
PHP Code:
SetTimerEx("RobbingTime",60000,0,"i",playerid); // Change "60000" if you want to increase/decrease the Robbing Time for players so they actually have a chance of not getting caught. 
Download
SolidFiles: https://www.solidfiles.com/v/gRMQzDxZLZxdM
Pastebin: https://pastebin.com/SAFvwYaz

Next Update
Code:
-Adding animations.
-Adding a bank safe.
-Adding Banks on San Fierro and Los Santos.
-Players can steal bags from you, after you\'ve robbed the bank.
+ Suggestions.
**-Credits-**
Y_less
Zeex
Escobabe
Reply
#2

Nice one dude, +Rep

Keep up the good work !
Reply
#3

Hi,


This seems to be a correct way to get players name without stocks.
Code:
format(?, ?, "Player name is %s", new name[MAX_PLAYER_NAME];
Also one more suggestion is to remove potential game mode functions (Such as OnPlayerRequestClass, OnPlayerCommandText, ... ).
Reply
#4

Quote:
Originally Posted by Fratello
View Post
Hi,


This seems to be a correct way to get players name without stocks.
Code:
format(?, ?, "Player name is %s", new name[MAX_PLAYER_NAME];
Also one more suggestion is to remove potential game mode functions (Such as OnPlayerRequestClass, OnPlayerCommandText, ... ).
I\'m used to stocks, it save you time on the long run.

Yeah, i\'ll remove them on the next update, thank you.

Quote:
Originally Posted by R4nd4ll
View Post
Nice one dude, +Rep


Keep up the good work !
Thank you.
Reply
#5

Well, I recommend (also) You switch from integers to booleans (Alarm, Bribe, etc). You can check if boolean is false like this to save your time: if(!variable).


How about you submit this to Github? I\'d love to contribute it!
Reply
#6

Quote:
Originally Posted by Fratello
View Post
Well, I recommend (also) You switch from integers to booleans (Alarm, Bribe, etc). You can check if boolean is false like this to save your time: if(!variable).


How about you submit this to Github? I\'d love to contribute it!
Booleans could be usefull in the next update I\'m planning, thanks for the suggestion. And yeah sure I\'ll make a GitHub account and publish this.
Reply
#7

Nice and realistic. I like it
Reply
#8

Quote:
Originally Posted by GamezCEO
View Post
Nice and realistic. I like it
Thanks.
Reply
#9

Great Work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)