03-06-2016, 05:23 PM
Introduction
This is a robbery script I discovered days ago on my old hard drive. I've modified a lot, including adding things like the chance of starting a robbery. The system is a simple one and you can also add many other banks if you'd like to!
Requirements
This script requires streamer and zcmd
Features
This system only has one command which is: /robbank
Defines
Code:
// ROBBERY SYSTEM DEFINES //
#define ROB_BANK_TIMER_TIME 20000 // 20000 milliseconds (20 seconds). Amount of time it takes for a bank robbery.
#define ROB_WAIT_TIMER_TIME 180000 // 180000 milliseconds (3 minutes). Amount of time a player has to wait to rob a bank again.
#define BANK_ROB_MINIMUM_CASH 10000 // $10,000. The robbery's minimum cash the player receives if the robbery was successful.
#define BANK_ROB_MAXIMUM_CASH 200000 // $200,000. The robbery's maximum cash the player receives if the robbery was successful.
Bank Location
The banks location is marked on the map (red dot)
![[Image: 670K8zF.jpg]](http://i.imgur.com/670K8zF.jpg)
Outside the bank there's a 3D Text label with the text 'Los Santos Bank.' Simply enter the checkpoint and you'll be inside the bank!
Pictures
imgur album
Download
GitHub
This is a robbery script I discovered days ago on my old hard drive. I've modified a lot, including adding things like the chance of starting a robbery. The system is a simple one and you can also add many other banks if you'd like to!
Requirements
This script requires streamer and zcmd
Features
- 50 % chance of a successful robbery. (this can be changed)
- Banks cannot be robbed until a 5 minute timer is up after a successful robbery.
- Receive a random amount of cash if a robbery is successful between $10,000 and $200,000. This can be changed.
This system only has one command which is: /robbank
Defines
Code:
// ROBBERY SYSTEM DEFINES //
#define ROB_BANK_TIMER_TIME 20000 // 20000 milliseconds (20 seconds). Amount of time it takes for a bank robbery.
#define ROB_WAIT_TIMER_TIME 180000 // 180000 milliseconds (3 minutes). Amount of time a player has to wait to rob a bank again.
#define BANK_ROB_MINIMUM_CASH 10000 // $10,000. The robbery's minimum cash the player receives if the robbery was successful.
#define BANK_ROB_MAXIMUM_CASH 200000 // $200,000. The robbery's maximum cash the player receives if the robbery was successful.
Bank Location
The banks location is marked on the map (red dot)
![[Image: 670K8zF.jpg]](http://i.imgur.com/670K8zF.jpg)
Outside the bank there's a 3D Text label with the text 'Los Santos Bank.' Simply enter the checkpoint and you'll be inside the bank!
Pictures
imgur album
Download
GitHub