10.02.2011, 20:02
(
Last edited by Stevo127; 07/05/2014 at 09:53 PM.
)
San Fierro Cops-Robbers-RPG v1.1
Uploaded with ImageShack.us
CHANGELOG v1.1
Uploaded with ImageShack.us
CHANGELOG v1.1
Code:
- NEW IRC OPTIONS, IF YOU WISH TO TURN IRC OFF, change '#define IRC_USE' from TRUE to FALSE - 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.
------------------------------------------------------------------------------------------------------------------------
Features
- 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
- 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
InformationI 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: www.crrpg.co.uk}
- 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 www.crrpg.com or samp.crrpg.com, as they are thieves which stole the GameMode. The correct website link is shown above.
Download links
Mediafire
Solidfiles
Source Code: Pastebin's filesize limit of 1MB has stopped this.
Feel free to post mirrors