Robbing Bank System [NEW] -
Escobabe - 27.10.2017
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
Re: Robbing Bank System [NEW] -
R4nd4ll - 27.10.2017
Nice one dude, +Rep
Keep up the good work !
Re: Robbing Bank System [NEW] -
Fratello - 27.10.2017
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, ... ).
Re: Robbing Bank System [NEW] -
Escobabe - 27.10.2017
Quote:
Originally Posted by Fratello
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
Nice one dude, +Rep
Keep up the good work !
|
Thank you.
Re: Robbing Bank System [NEW] -
Fratello - 27.10.2017
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!
Re: Robbing Bank System [NEW] -
Escobabe - 27.10.2017
Quote:
Originally Posted by Fratello
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.
Re: Robbing Bank System [NEW] -
GamezCEO - 28.10.2017
Nice and realistic. I like it
Re: Robbing Bank System [NEW] -
Escobabe - 28.10.2017
Quote:
Originally Posted by GamezCEO
Nice and realistic. I like it
|
Thanks.
Re: Robbing Bank System [NEW] -
RoyalEmpire - 28.10.2017
Great Work