SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Thread Tools Display Modes
Old 10/02/2011, 08:02 PM   #1
Huge Clucker
Join Date: Aug 2008
Posts: 221
Reputation: 63
Default {UPDATED} San Fierro Cops-Robbers-RPG v1.1 {0.3e}

San Fierro Cops-Robbers-RPG v1.1

Uploaded with


- The server name, abbreviation and version are now set as defines, search for '#define sname' to find these.
- SSCANF has been updated to the new most stable version.
- The server website is now changeable through searching for '#define sweb'.
- The server has been updated to version 0.3e

Story behind the making of SFCRRPG

Well, i have been scripting for Byrner's CRRPG for well over a year now and i decided to make a Cops-Robbers-RPG (Kinda like LVRCR) and base it in San Fierro. My aim was to make a good skeleton with just enough features in the script to make it usable as a v1.0 script on a paid for SA-MP server. Now after completing the script, i can look back and definitly say that i have achieved this.

I wanted to make this in San Fierro due to the fact that there aren't many/any San Fierro Cops-Robbers-RPG scripts out there and fully released on the SA-MP forums. San Fierro is a good place to have a GM and i don't think many people realise it. It could also be made much better than what i have made it by a little bit more mapping of other things such as casinos.

But, like i said, this is only a skeleton of a good GameMode. Anyone is free to follow the logic that i have created and make the script much better. Aslong as im credited for it.

Differences from LVRCR 1.8

Firstly, i started to script this Gamemode from scratch on January 11th 2011 and finished the script on February the 7th 2011. I did not copy any code from LVRCR 1.8 or CRRPG 3.0 (Which i helped script).
This script is much tidier than LVRCR and it uses WAY less CPU than LVRCR did. There are also many things in this GM that are different such as the CIA class, FBI class etc, but i won't ramble on, lets get down to business.



- Police Officer
- /cuff (PlayerName/ID)
- /m(egaphone) (Message)
- Roadblocks
- /search (PlayerName/ID)
- /suspect (PlayerName/ID) (Reason)
- /ticket (PlayerName/ID)
- /payticket
- /pu (PlayerName/ID)
- /arrest (PlayerName/ID)
- /detain (PlayerName/ID)
- /dropoff (PlayerName/ID)
- /911 (Message) - For Civilians.
- Locked Police vehicles, interior, workable gates and security door using keypads at the garage entrance.

- Army Officer
- Working gates at entrance.
- Working vehicles including tanks.
- Extra mapped base onto the current base.

- FBI Officer (500 Score)
- Mapped FBI Base.
- FBI interior including working keypad security doors, and a lift to the garage and roof.
- Working entry/exit gates to garage.

- CIA Officer (Admin assigned)
- Mapped CIA Base.
- CIA Interior.
- Working entry/exit gates to the base.
- The ability to use a satelite to view players and what they are doing.
- The ability of CIA to /tackle to disable players.

- Police Air Support && Marine Support
- 2 seperate bases.
- 2 sets of vehicles at each base: Helicopters && Police boats.

- Medics
- All players can call a medic with /medic.
- Medics can use /heal, /healme, cure, /cureme.
- Medics can set the price of their services with /setprice.

- Car Mechanic
- All players can call a mechanic with /mechanic.
- Mechanics can use /repair, /repairme.
- Mechanics can use /setprice to set the price of their services.

- Taxi Driver
- Drivers can enter a taxi vehicle to go on duty.
- Players can call for a taxi with /driver.
- Drivers can use /setprice to set the price of their services. (Pay per minute)

- Civilian (Rapist)
- Can rape players and infect them with STI's that can kill them.
- All players except law enforcement can /rape but cannot infect.

- Civilian (Drug Dealer)
- Players can call for them with /drugdealer.
- Can sell weed to players with /sellweed.
- Can sell heroin to players with /sellheroin.
- Players can use /smokeweed (Grams).
- Players can use /injectheroin.

- Civilian (Weapon Dealer)
- Players can call for them with /weapondealer.
- Can show their weapons with /showweapons.
- Can sell weapons with /sellweapon.

- Civilian (Hitman)
- Can kill players on the hit list.
- Can view hitlist with /hitlist.
- Players can place hits on other players with /placehit.

- Civilian (Kidnapper)
- Can kidnap players with /kidnap (Must have rope).
- /Untie command for all players.
- /cutrope command for all players (Must have scissors).

- Civilian (Theif)
- Can rob players with /rob.

- Civilian (Car Jacker)
- Has to find bought cars from Otto's Cars and enter them to steal them.
- Takes the stolen cars to the shipyard (Marked with an anchor).
- Can use /sellcar to sell the stolen car to the shipyard.

- Civilian (Terrorist)
- Can buy C4 from the bomb shop behind Wang Cars. (Marked with BS).
- Can blow their vehicle with /blowcar.
- Can blow the CIA main building with /blowup.
- Can blow the CIA Satelite with /blowup.
- Can blow the CIA Bridge with /blowup.
- Terrorism Level that enables you to blow certain things up at certain levels.
- Can check /tlevel to see this level.

- Robable places around San Fierro
- Can rob these places with /robstore.
- Supa Save.
- Four Drug Houses.
- Garcia Burger Shot.
- Downtown Burger Shot.
- Ocean Flats Cluckin Bell.
- Downtown Cluckin Bell.
- Ammunation.
- GayDar Station (Bar).
- Zero's.
- Misty's (Bar).
- GYM.
- Driving School.
- Wang Cars.
- Train Station.
- Barbers.
- Hospital.
- Jizzy's Nightclub.
- Esplanade North Well Stacked Pizza.
- Downtown Zip.
- Downtown Victim.
- Juniper Hill Binco.
- The City Hall.
- A few more i might have forgot. (All are markered).

- Tram Driver NPC
- Tram Driver named Billy.
- He drives around San Fierro on the tram route, making a stop at:
- Downtown, Financial, Esplanade North, Calton Heights, Garcia and Doherty.

- Inventory
- Can store C4, Rope and Money in it.
- Use /inventory to access it.

- Map Icons
- Every possible place that can be entered or robbed etc has been marked on the map with a marker.

- Auto Wanted Level and Auto Jail
- Wanted Level and Jail Time are both saved on exit.
- When you re-enter, your level/jailtime will be given to you.

- IRC Commands according to your level on IRC: Voice, halfop, op, admin and owner.
- Everything from ingame is echoed to IRC.
- Admin IRC channel shows the stuff only admins should see ingame, on IRC.

- Admin Levels
- Admin levels 1-5 and 1337. (1337 being owner).
- Has a range of admin commands that can be viewed with /adcmds.

- Simple Anti-Cheat
- Ban's Illegal weapons and Cash hacks.

- Supa Save (Store)
- Can buy: Rope, scissors, sausage rolls (/sausage), needle and syringe.
- Can also be robbed.

- Regular Player Commands
- Roadblocks are locked to RP's.
- /rc (Chat).
- /afk and /back.

- Random hostnames
- Hostname changes every 2 minutes with some different messages.

- Random Messages
- Random messages that are helpful are messaged to all players every 2 minutes.

- Bank
- To store your cash.
- Can also transfer money to other accounts.

- Businesses
- 2 Non-Dynamic Businesses. (Must be set owner via playerfiles).
- Otto's Cars.
- 4 Drug Houses (1 Owner).
- Owner's recieve all profits when online, and offline (In to bank when offline).

- Non automatic vehicles
- Must use '2' or /engineon/off to start the vehicle engine.
- Can use the following: /lightson, /lightsoff, /bonnetup, /bonnetdown, /bootup, /bootdown.

There may also be a few other things ingame that i forgot to add to the Documentation. All commands can be seen with /commands and /gcommands.


Download and Information


I don't think there are any bugs in the server, i have tested it many times with a few people and fixed any bugs i came across. If your wondering why i didn't use MySQL instead of dudb, it is because i am used to dudb and i like using it. Even though it takes more CPU.

Credits (Can also be seen at /credits)

If you want to use this script, i would really like to be in the credits. So, let that be the agreement between me and you, using the script. Anyhow, here are the credits that are given:

- CRRPG {Site:}
- For enspiring me to make some of the skills/classes in this script.
- Y-Less for sscanf.
- Dracoblue for dudb && dcmd.
- Cuerv0 for the roadblocks script.
- Creator of xObjects.
- BM[UK] for the checkpoint streamer.

Please do not visit or, as they are thieves which stole the GameMode. The correct website link is shown above.

Download links


Source Code: Pastebin's filesize limit of 1MB has stopped this.

Feel free to post mirrors

Last edited by Stevo127; 07/05/2014 at 09:53 PM.
Stevo127 is offline   Reply With Quote
Old 10/02/2011, 08:09 PM   #2
Big Clucker
Join Date: May 2010
Location: Netherlands
Posts: 192
Reputation: 2
Default Re: San Fierro Cops-Robbers-RPG v1.0


Awesome script, i've helped testing it
selten98 is offline   Reply With Quote
Old 10/02/2011, 08:23 PM   #3
Huge Clucker
Join Date: Aug 2008
Posts: 221
Reputation: 63
Default Re: San Fierro Cops-Robbers-RPG v1.0

Please remember to edit the .pwn to change the IRC Network to suit you, otherwise my network will be spammed. And we don't want that :P

Also, don't forget to put the SFCRRPG folder in the scriptfiles folder, otherwise itill crash.
Stevo127 is offline   Reply With Quote
Old 10/02/2011, 08:24 PM   #4
Little Clucker
Join Date: Sep 2010
Posts: 13
Reputation: -1
Default Re: San Fierro Cops-Robbers-RPG v1.0

GamerXCrrpg is offline   Reply With Quote
Old 10/02/2011, 08:26 PM   #5
Medal Of Honor team
Medal Of Honor team's Avatar
Join Date: Feb 2011
Location: Osama Bin Laden's house ;)
Posts: 505
Reputation: 2
Default Re: San Fierro Cops-Robbers-RPG v1.0

why do you have to release this awesome script? It's really superb
Medal Of Honor team is offline   Reply With Quote
Old 10/02/2011, 08:33 PM   #6
Huge Clucker
Join Date: Aug 2008
Posts: 221
Reputation: 63
Default Re: San Fierro Cops-Robbers-RPG v1.0

Because i made it when i was bored. And my main aim all along was to get a script like this out there.
Stevo127 is offline   Reply With Quote
Old 10/02/2011, 09:42 PM   #7
Huge Clucker
Join Date: Mar 2008
Location: USA
Posts: 360
Reputation: 30
Default Re: San Fierro Cops-Robbers-RPG v1.0

it looks good stevo i have not test it but i well tho good job bro good job From. Tom_Fox
Founder Tom_Fox Server_Owner Of Both and and Tom's Games Servers Gaming Community & IRC Network.

are you guys trying to start your own Gaming Community like me or do you needs your own ircd network well this is the place for you and trust me when i say this iam sooo bless to have them as my hosts and so well you give them a try trust me you well not be sorry you did.
sam1929 is offline   Reply With Quote
Old 10/02/2011, 09:55 PM   #8
Huge Clucker
Ruffles.'s Avatar
Join Date: Apr 2010
Location: Canada
Posts: 453
Reputation: 29
Default Re: San Fierro Cops-Robbers-RPG v1.0

I really like how you described it, and how there is only a few of these.
I am happy to see what you have in store next.

Unlike a lot of people, I don't ask for rep.

Lawedan Computers, Inc Links
Webpage | Lawedan Armoured Company Clan Page | World of Tanks | World of Warplanes

Ruffles. is offline   Reply With Quote
Old 10/02/2011, 10:15 PM   #9
Little Clucker
Windows7's Avatar
Join Date: Jul 2010
Posts: 41
Reputation: 0
Default Re: San Fierro Cops-Robbers-RPG v1.0

great job!
Windows7 is offline   Reply With Quote
Old 10/02/2011, 10:15 PM   #10
Join Date: Nov 2010
Location: Tamilnadu,India
Posts: 914
Reputation: 50
Default Re: San Fierro Cops-Robbers-RPG v1.0

very nice good job
Venice is offline   Reply With Quote

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
[GameMode] [GM]Cops n Robbers Puffmac Gamemode Scripts 84 12/08/2014 05:23 PM
cops and robbers davocollo Help Archive 1 25/01/2011 09:04 AM

All times are GMT. The time now is 11:39 AM.

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