[GameMode] Cops and robbers Script :D
#1

Well, i was making a Cops and robbers script for a friend, but we stoped it so i thought i would give it to people that might want to use it, idk.

It Has many things including cops,army,swat,criminals with a few skills, and more. it have alot of robbings and a few extra buildings added, if wanted to make into robbings.

http://pastebin.com/h5JzQL8F

Thanks for the people that made:
sscanf2
streamer-incognitos
zcmd
dini


And here is a admin system


http://pastebin.com/pF7BitwF

Admin Commands:
Code:
goto
bring
setlevel
shootrocket
takecar
adjail
adwarn
adunjail
adfr
adunfr
addmer
adnoob
adban
adkick
adunban
adgetbanreason
adipban
adunipban
adcage
announce
gmx
setlevelname
setwlvl
setcarhp
giveweapon
adkill
sethp
setarmour
nuke
jetpack
breakcar
givecash
setcommandlevel
admute
adunmute
adcmds
setscore
spec
adarmy
specoff
adinfo
setbank
setbankname
setrobskill
setcoprank
remarmyname
changename
nick
You Can set the level required to use each command with setcommandlevel.
The Changename cmd works and changes the file name and all.

Add a folder in scriptfiles called CopsAndRobbersUsers.

If you have any questions, just ask.
Reply
#2

emm i get this error.

Script[gamemodes/bestcnr.amx]: Run time error 20: "Invalid index parameter (bad entry point)"

any idea how to fix it?
Reply
#3

add main() { } to the top of the script.
Reply
#4

error...
Code:
Script [gamemodes/crs.amx]: Run time error 19: "File Or Function is not found"
Reply
#5

pawn Code:
SetTimer("WantedLevelCheck",1000,true);
        SetTimer("TeamCheck",1000,true);
        SetTimer("CuffedTimer",1000,true);
        SetTimer("JailedTimer",1000,true);
        SetTimer("InfectedTimer",10000,true);
        SetTimer("RapedTimer",1000,true);
        SetTimer("RobbedTimer",1000,true);
        SetTimer("TakenDrugTimer",1000,true);
        SetTimer("GunDealAcceptTimer",120000,true);
        SetTimer("DrugDealAcceptTimer",120000,true);
        SetTimer("OneSecondTimer",1000,true);
        SetTimer("RobbedRecentlyTimer",1000,true);
        SetTimer("CopMoneyTimer",600000,true);
        SetTimer("AdvertisementTimer",300000,true);
        SetTimer("RapeRobEscapeRecentlyTimer",1000,true);
        SetTimer("VehicleTimer",1000,true);
        SetTimer("MechanicTimer",1000,true);
        SetTimer("TaxiTimer",1000,true);
        SetTimer("CarOffTimer",1000,true);
        SetTimer("pauseCheck", 1000, true);
        SetTimer("TrashFreeze", 5000, true);
        SetTimer("TruckFreeze", 5000, true);
        SetTimer("SpawnAllCars", 5000,false);
Does your gamemode even lag?
Reply
#6

Quote:
Originally Posted by Lorenc_
View Post
pawn Code:
SetTimer("WantedLevelCheck",1000,true);
        SetTimer("TeamCheck",1000,true);
        SetTimer("CuffedTimer",1000,true);
        SetTimer("JailedTimer",1000,true);
        SetTimer("InfectedTimer",10000,true);
        SetTimer("RapedTimer",1000,true);
        SetTimer("RobbedTimer",1000,true);
        SetTimer("TakenDrugTimer",1000,true);
        SetTimer("GunDealAcceptTimer",120000,true);
        SetTimer("DrugDealAcceptTimer",120000,true);
        SetTimer("OneSecondTimer",1000,true);
        SetTimer("RobbedRecentlyTimer",1000,true);
        SetTimer("CopMoneyTimer",600000,true);
        SetTimer("AdvertisementTimer",300000,true);
        SetTimer("RapeRobEscapeRecentlyTimer",1000,true);
        SetTimer("VehicleTimer",1000,true);
        SetTimer("MechanicTimer",1000,true);
        SetTimer("TaxiTimer",1000,true);
        SetTimer("CarOffTimer",1000,true);
        SetTimer("pauseCheck", 1000, true);
        SetTimer("TrashFreeze", 5000, true);
        SetTimer("TruckFreeze", 5000, true);
        SetTimer("SpawnAllCars", 5000,false);
Does your gamemode even lag?
Holy St. Lucia :O
Reply
#7

15 one second timers, amazing script.
Reply
#8

anybody can helpme? D:
Reply
#9

Have you got this?

pawn Code:
main()
{
}
Reply
#10

Quote:
Originally Posted by freshOrange
View Post
Have you got this?

pawn Code:
main()
{
}
yeah...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)