[FilterScript] Bank Robbery System with Checkpoints!
#1

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
  • 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.
Commands

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)



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
Reply
#2

Sounds good, Will test it.
Reply
#3

Quote:
Originally Posted by SpikY_
View Post
Sounds good, Will test it.
Thanks, let me know if you find anything wrong!
Reply
#4

Simple and nice, keep it up mate

You can also add more robberies to all LS city
Reply
#5

Quote:
Originally Posted by SecretBoss
View Post
Simple and nice, keep it up mate


You can also add more robberies to all LS city
Yes I was thinking about actually adding a bank in San Fierro and Las Venturas.


I\'ll maybe add a system where you can easily add your own bank if I have time.


Thanks!
Reply
#6

Well done, i like it!
Reply
#7

Simple and Nice
Reply
#8

[08:15:56] Error: Function not registered: \'CreateDynamicCP\'
[08:15:56] Error: Function not registered: \'CreateDynamic3DTextLabel\'
[08:15:56] Error: Function not registered: \'DestroyDynamicCP\'
[08:15:56] Error: Function not registered: \'DestroyDynamic3DTextLabel\'
[08:15:56] Error: Function not registered: \'IsPlayerInDynamicCP\'
Reply
#9

Quote:
Originally Posted by yvoms
View Post
[08:15:56] Error: Function not registered: \'CreateDynamicCP\'

[08:15:56] Error: Function not registered: \'CreateDynamic3DTextLabel\'

[08:15:56] Error: Function not registered: \'DestroyDynamicCP\'

[08:15:56] Error: Function not registered: \'DestroyDynamic3DTextLabel\'

[08:15:56] Error: Function not registered: \'IsPlayerInDynamicCP\'
You need the streamer plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)