31.07.2014, 16:48
(
Последний раз редактировалось Albert_John; 14.08.2014 в 09:52.
Причина: I have made it myself
)
Hello Guys,
I was searching the web for a good bank robbery script but couldn't find a proper Script, I am running a mysql server with all commands starting with YCMD , the server already has Business Robbery System, Seem complicated to me so I decided to ask in samp forum to get some help,
To make sure what kind of script im running i decided to show the business robbery script, These codes are taken from middle of Business.pwn file I'm using.
Whole Business Script
http://pastebin.com/udehKjb6
The System I want to make must work like this :
When we enter the bank we can start the robbery near the (/robbank) checkpoint, if you leave the checkpoint a message comes (Robbery Failed , You left the Checkpoint or whatever). A Message must go to the police department /FBI (Armed Robbery at Bank) as in Business script.I know the Business Script is quite different but you can get some idea from it that how the message goes to LSPD/FBI because its a part of server.And also you must hold a weapon in hand to rob the bank,doesn't matter if you switch the weapon or drop it.When you have completed the Robbery you get money from the system between 0 to 200k.
Please mention with comment (//where to put the coordinates for /robbank)
Thanks in advance
Well I'm pretty noob in scripting but can understand how it works![Cheesy](images/smilies/biggrin.png)
Okay so the robbery script portion looks like below
I was searching the web for a good bank robbery script but couldn't find a proper Script, I am running a mysql server with all commands starting with YCMD , the server already has Business Robbery System, Seem complicated to me so I decided to ask in samp forum to get some help,
To make sure what kind of script im running i decided to show the business robbery script, These codes are taken from middle of Business.pwn file I'm using.
Whole Business Script
http://pastebin.com/udehKjb6
The System I want to make must work like this :
When we enter the bank we can start the robbery near the (/robbank) checkpoint, if you leave the checkpoint a message comes (Robbery Failed , You left the Checkpoint or whatever). A Message must go to the police department /FBI (Armed Robbery at Bank) as in Business script.I know the Business Script is quite different but you can get some idea from it that how the message goes to LSPD/FBI because its a part of server.And also you must hold a weapon in hand to rob the bank,doesn't matter if you switch the weapon or drop it.When you have completed the Robbery you get money from the system between 0 to 200k.
Please mention with comment (//where to put the coordinates for /robbank)
Thanks in advance
Well I'm pretty noob in scripting but can understand how it works
![Cheesy](images/smilies/biggrin.png)
Okay so the robbery script portion looks like below