SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 06/07/2015, 10:40 PM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Street Robbery

Street Robbery
v1.0!
(Fresh Start Update)

Hey guys i made this filterscript in the hope that maybe i will help someone that needs it.

Description:

This is a robbery system where you can rob any player within a certian distance, but in order to perform a robbery you will need
to have a knife equipped, there is also a 75% chance you will not succeed, you can rob a player for an amount between $100 and $100,000.

Commands:
  • /sr
  • /srhelp

Features:
  • Custom robbery amount
  • Need to be near player to rob
  • Knife needs to be equipped to rob
  • Wanted stars for robbing
  • 75% chance for failing

Customize:

Code:
#define MAX_ROBBERY_AMOUNT 100000 (you can change to max amount)
#define MIN_ROBBERY_AMOUNT 100 (you can change to min amount)

Requirements:
  • zcmd.inc
  • sscanf2.inc
  • sscanf.dll/so
  • foreach.inc (required for the Message.inc)
  • Message3.inc

Installation:
  • Place the .amx in the 'filterscripts' folder
  • add sr.amx in your server.cfg on the filterscript line
  • Run and enjoy!

Screenshots:

http://i57.tinypic.com/9a8jgw.jpg
http://i59.tinypic.com/2usa711.jpg
http://i62.tinypic.com/34ye244.jpg
http://i57.tinypic.com/5anqrk.jpg
http://i57.tinypic.com/j7etsn.jpg


Last edited by Jakwob; 30/07/2015 at 05:57 PM.
Jakwob is offline   Reply With Quote
Old 06/07/2015, 10:44 PM   #2
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 837
Reputation: 102
Default Re: Street Robbery

Nice script +REPed
__________________
SecretBoss is offline   Reply With Quote
Old 07/07/2015, 02:36 AM   #3
LMaxCo
Big Clucker
 
Join Date: Dec 2014
Location: SA-MP Forums - Powered by VBulletin.
Posts: 158
Reputation: 11
Default Re: Street Robbery

Nice one
LMaxCo is offline   Reply With Quote
Old 07/07/2015, 07:16 PM   #4
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Street Robbery

Thanks for the rep and comments guys, just to let you know Version 2.0 (Improvement Update) is under way and Version 3.0 is already mapped out and will be the HVT update. If you want to suggest anything feel free to comment.
Jakwob is offline   Reply With Quote
Old 07/07/2015, 09:03 PM   #5
M0HAMMAD
Gangsta
 
M0HAMMAD's Avatar
 
Join Date: May 2014
Posts: 528
Reputation: 34
Default Re: Street Robbery

like it. also very like it need a knife for rob !
nice job
M0HAMMAD is offline   Reply With Quote
Old 07/07/2015, 09:19 PM   #6
Andy5
Big Clucker
 
Andy5's Avatar
 
Join Date: Mar 2015
Location: -
Posts: 57
Reputation: 0
Default Re: Street Robbery

Looks Nice , Good Job
Andy5 is offline   Reply With Quote
Old 07/07/2015, 09:22 PM   #7
muzammilfreeman
Huge Clucker
 
muzammilfreeman's Avatar
 
Join Date: Dec 2014
Location: In The World Of Roleplay.
Posts: 304
Reputation: 41
Default Re: Street Robbery

Great job matey!
__________________
Server Information:

SA-MP: samp.ne-rp.net
FORUMS: www.ne-rp.net/forums
TeamSpeak3: ts.ne-rp.net
UCP: cp.ne-rp.net
Shop: shop.ne-rp.net

JOIN NOW TO EXPLORE AMAZING FEATURES[STABLE 40+ DAILY PLAYERBASE]
muzammilfreeman is offline   Reply With Quote
Old 08/07/2015, 07:08 PM   #8
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Street Robbery

Quote:
Originally Posted by muzammilfreeman View Post
Great job matey!
Thanks mate

Quote:
Originally Posted by Andy5 View Post
Looks Nice , Good Job
Thanks

Quote:
Originally Posted by M0HAMMAD View Post
like it. also very like it need a knife for rob !
nice job
Thanks mate I wanted it to be a little different, the updates will make this event better.
Jakwob is offline   Reply With Quote
Old 08/07/2015, 07:24 PM   #9
MafiaOink
Big Clucker
 
MafiaOink's Avatar
 
Join Date: Jun 2014
Location: Pakistan
Posts: 140
Reputation: 10
Default Re: Street Robbery

ROFL
You can rob yourself, Addition:
add if(target variable == playerid) return 1; or return 0;
faog
__________________
MafiaOink is offline   Reply With Quote
Old 08/07/2015, 07:46 PM   #10
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Street Robbery

Yea finally people have noticed a problem. Thanks for that, it is already fixed in v2.0 which is nearly ready for release. There are other things in this like the help dialog is a bit wrong as well. Anyway thanks again for spotting that.
Jakwob is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Robbery STONEGOLD Scripting Help 5 17/06/2015 02:44 AM
Robbery help Cr3dO Scripting Help 1 14/12/2014 06:08 PM
Bank Robbery (Map, Robbery System) Dragony92 Screenshots and Videos 19 14/06/2014 07:04 PM
robbery rober98 Server Support 0 16/12/2013 02:48 AM
Robbery bug help StinkMoney Scripting Help 10 02/05/2012 02:58 AM


All times are GMT. The time now is 09:32 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.