Your One Stop Guide To Dark RP 2.3.5

http://img17.imageshack.us/img17/3295/mybanner49f2ef09b7f1d.png

hi im pk owner and im gonna help u make custom jobs, custom shipments, change version, change gamemode name and more!

ADMINZ
please give me a warning before banning
i am really getting anoyyed being banned all the time!

Comment If You Looked Or Used This Guide In Any Way!

ok lets get started

download Notepad++ Here http://sourceforge.net/project/downloading.php?group_id=95717&filename=npp.5.3.1.Installer.exe

Custom Jobs

-go to your dark rp folder
-open gamemode folder
-open shared.lua (right click press open with notepad++)
-this is how a custom job is layed out


AddExtraTeam( "<NAME OF THE CLASS>", Color(<red>, <Green>, <blue>, 255), "<Player model>" , [[<the description(it can have enters)>]], { "<first extra weapon>","<second extra weapon>", etc...}, "<chat command to become it(WITHOUT THE /!)>", <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, TEAM: Which team you need to be to become this team)

So Heres A Example Of A S.W.AT


TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect From Terrorists
]], {"weapon_deagle2, weapon_mp52,  weapon_pumpshotgun2"}, "swat", 3, 300, 0, true)

So the layout of the above job

TEAM_SWAT = this is for stuff like buying shipments and weapons also if you have to be a job to become this

Team(“S.W.A.T” = S.W.A.T is the job name displayed in the scoreboard and the bottom left hand corner

Color(0,0,153,255) = This is the colour diplayed in the scoreboard

“models/player/barney.mdl” = the model the player is

[[Raid And Protect From Terrorists]] = this is the description that comes up in the f4 menu

{“weapon_deagle2, weapon_mp52, weapon_pumpshotgun2”}= The Weapons the person has CAUTION! theys weapons must also be in the darkrp/entities/weapons folder!

“swat” = what You Type To Become his Job (Dont Include / it automatically does it)

, 3, = the Max People Can Be This Job

, 300 , = The Pay They Get Each Pay Day

, 0, = anyone Can Become This (0 = anyone, 1 = admin, 2 = superadmin only)

true) = Do you Have To vote To Become This (false = no and true = yes)

Heres Some Custom Jobs To Get You All Started


TEAM_votevp = AddExtraTeam("Vice President", Color(255,150,0,255), "models/player/eli.mdl", [[The VP!
Help The President Manage The City.
And If He's Too Powerful, OverRun Him...
]], {"weapon_p2282"}, "votevp", 1, 70, 0, true)

TEAM_subdealer = AddExtraTeam("Substance Dealer", Color(0,52,68,255), "models/player/odessa.mdl", [[Sells Illegal Substances...
<Bad Boy!>
]], {"weapon_fiveseven2"}, "subdealer", 2, 60, 0, false)

TEAM_merch = AddExtraTeam("Merchant", Color(055,135,10,255), "models/player/group01/male_04.mdl", [[Buy And Sell Stuff For A Living
Self Explained...
]], {"weapon_bugbait"}, "merch", 2, 50, 0, false)

TEAM_work = AddExtraTeam("Office Worker", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Works At The Office
Pretty Much The Backbone Of OfficeRP
]], {"weapon_p2282"}, "work", 5, 50, 0, false)

TEAM_guard = AddExtraTeam("Guard", Color(255,40,55,255), "models/player/barney.mdl", [[Gaurd For Hire
BE PROTECTED IN THIS WORLD OF EVIL
]], {"weapon_ak472"}, "guard", 3, 60, 0, true)

TEAM_build = AddExtraTeam("Builder", Color(0,255,55,255), "models/player/alyx.mdl", [[Hire This Guy To Build A PRO Base!
]], {"weapon_bugbait"}, "build", 5, 50, 0, false)

TEAM_client = AddExtraTeam("Client", Color(255,120,20,255), "models/player/group03/male_07.mdl", [[You Are The Client...
Do What Your Supposed To...
]], {"weapon_deagle2"}, "client", 15, 50, 0, false)

TEAM_wirenerd = AddExtraTeam("Wire Nerd", Color(70,0,255,255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$
]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, false)

TEAM_security = AddExtraTeam("Security", Color(50,0,150,255), "models/player/group03/male_02.mdl", [[You ARE The Backup...The Security...
YOU ARE EPIC
]], {"weapon_m162"}, "sec", 3, 60, 0, false)

TEAM_tech = AddExtraTeam("Technician", Color(0,200,50,255), "models/player/barney.mdl", [[Sell Installations For PCMod With The Install Disk.
]], {"pcmod_installdisk"}, "technician", 1, 50, 0, false)

TEAM_bar = AddExtraTeam("Bartender", Color(200,30,0,255), "models/player/classic.mdl", [[Buy A Beer Rack And Sell Some Beer.(Leagal)
]], {"weapon_bugbait"}, "bartender", 2, 50, 0, false)

TEAM_DRUG = AddExtraTeam("Drug Baron", Color(50,0,150,255), "models/player/arctic.mdl", [[Sell Drugz
]], {}, "drugbaron", 10, 100, 2, false)

TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect
]], {"weapon_ak472, weapon_pumpshotgun2"}, "swat", 3, 300, 0, true)

TEAM_SWATCHIEF = AddExtraTeam("S.W.A.T Chief", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect Also Command
]], {"weapon_ak472, weapon_pumpshotgun2, weapon_mp52, weapon_real_cs_smoke"}, "swatchief", 1, 500, 0, true, TEAM_SWAT)

TEAM_terrorist = AddExtraTeam("Terrorist", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Blow Up Some stuff, For Allah
]], {"weapon_p2282, weapon_jihadbomb"}, "terrorist", 1, 50, 0, true)

TEAM_ninja = AddExtraTeam("Ninja", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Blow Up Some stuff, For Allah
]], {"weapon_p2282, spiderman, weapon_real_cs_awp"}, "ninja", 2, 50, 0, true)

TEAM_FOOD = AddExtraTeam("Food Salesman", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Sell Food WITHOUT Posion Or Go To Jail
]], {"weapon_p2282"}, "foodsalesman", 2, 50, 0, false)

TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.
]], {"Pump Shotgun", "Frag", "P90", "StunStick", "Arrest Baton", "Unarrest Baton"}, "adminpolice", 10, 20000, 1, false)

TEAM_LOCK = AddExtraTeam("Locksmith", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Break Some Locks Fix Some More Locks
]], {"weapon_pumshotgun2, lockpick"}, "locksmith", 2, 50, 0, true)

TEAM_SNIPER = AddExtraTeam("S.W.A.T Sniper", Color(55,55,55,255), "models/player/artic.mdl", [[HEADSHOT SOME TERRORISTS!
]], {"weapon_p2282, spiderman, weapon_real_cs_awp"}, "swatsniper", 2, 50, 0, true)

TEAM_HIT = AddExtraTeam("Hitman", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Killz 4 Cashz
]], {"weapon_deagle2, weapon_real_cs_awp"}, "hitman", 2, 100, 0, true)

TEAM_ZOMB = AddExtraTeam("Zombie", Color(200,30,0,255), "models/player/classic.mdl", [[Braaaaaaaaaaaiiinzzzzzz
]], {"spiderman"}, "zombie", 2, 50, 0, true)

Custom Shipments
-go to dark rp folder
-open gamemode folder
-open addshipment.lua (right click the open with notepad++)

-A Shipment Would Look Like This


AddCustomShipment("<Name of the shipment(no spaces)>"," <the model that the shipment spawns(should be the world model...)>", "<the classname of the weapon>", <the price of one shipment>, <how many guns there are in one shipment>, <OPTIONAL: true/false sold seperately>, <OPTIONAL: price when sold seperately>, < true/false OPTIONAL: /buy only = true> , OPTIONAL which classes can buy the shipment, OPTIONAL: the model of the shipment)

Heres A HL2 Pistol Shipment


AddCustomShipment("HL2pistol", "models/weapons/W_pistol.mdl", "weapon_pistol", 500, 10, false, 200, false, {TEAM_GUN})

The Layout:

Shipment(“HL2pistol” = The Name Displayed In The f4 Menu

“models/weapons/W_pistol.mdl”, = The Model To Come Out Of The Shipment When Used ( NEVER USE V_ MODELS)

“weapon_pistol” = the entitie that comes out! (must be in darkrp/entites/weapons or \entities)

, 500 = Price For Shipment

10, = How Many In Shipment

false = Not Sold Seperatly

200 = Price Sold Seperatly

, false, = /buypistol Only (keep false its never true)

TEAM_GUN = The Teams That Can By The Shipments

Heres Some shipments to Get you Going

WARNING: You need cs:s Realistic Weapons 4


AddCustomShipment("RPG", "models/weapons/w_rocket_launcher.mdl", "weapon_rpg", 30000, 2, false, 3000, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Health Lab", "models/props_combine/combine_mine01.mdl", "health_lab", 5000, 10, true, 500, true, {TEAM_MEDIC, TEAM_ADMIN})
AddCustomShipment("LockPick", "models/weapons/w_crowbar.mdl", "lockpick", 4000, 10, true, 425, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Unarrest Stick", "models/weapons/w_stunbaton.mdl", "unarrest_stick", 5000, 10, false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Spiderman Gun", "models/weapons/w_pistol.mdl", "spiderman", 5000, 5, false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Door Ram", "models/weapons/w_rocket_launcher.mdl", "door_ram", 5000, 5, false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Stunstick", "models/weapons/w_stunbaton.mdl", "stunstick", 5000, 5, false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Jahid Bomb", "models/weapons/w_jb.mdl", "weapon_jihadbomb", 20000, 3, false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Microwave Rifle", "models/weapons/w_iRifle.mdl", "weapon_mr", 20000, 10,false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("keypad_cracker", "models/weapons/w_c4.mdl", "keypad_cracker", 5000, 10,false, 80, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Bouncy Ball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, false, 10, true)

-- Drugz
AddCustomShipment("Beer", "models/drug_mod/alcohol_can.mdl", "durgz_alcohol", 10000, 10, false, 10, false, {TEAM_DRUG, TEAM_BAR})
AddCustomShipment("Aspirin", "models/jaanus/aspbtl.mdl", "durgz_aspirin", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Cigarettes", "models/boxopencigshib.mdl", "durgz_cigarette", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Cocaine", "models/cocn.mdl", "durgz_cocaine", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Heroine", "models/katharsmodels/syringe_out/syringe_out.mdl", "durgz_heroine", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Lsd", "models/smile/smile.mdl", "durgz_lsd", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Mushrooms", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Water", "models/drug_mod/the_bottle_of_water.mdl", "durgz_water", 10000, 10, false, 10, false, {TEAM_DRUG})
AddCustomShipment("Weed", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 10000, 10, false, 10, false, {TEAM_DRUG})


-- CS:S Weps
AddCustomShipment("M249", "models/weapons/w_mach_m249para.mdl", "weapon_real_cs_m249", 6000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_real_cs_galil", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_real_cs_m4a1", 3900, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 3900, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_real_cs_awp", 5000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Scout", "models/weapons/w_snip_scout.mdl", "weapon_real_cs_scout", 4500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("SteyrAug", "models/weapons/w_rif_aug.mdl", "weapon_real_cs_aug", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("SG552", "models/weapons/w_rif_sg552.mdl", "weapon_real_cs_sg552", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_real_cs_g3sg1", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("SG550", "models/weapons/w_snip_sg550.mdl", "weapon_real_cs_sg550", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_real_cs_ump_45", 3600, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "weapon_real_cs_p90", 3500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_real_cs_tmp", 3500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_real_cs_mp5a5", 3200, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("AutoShotgun", "models/weapons/w_shot_xm1014.mdl", "weapon_real_cs_xm1014", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Shotgun", "models/weapons/w_shot_m3super90.mdl", "weapon_real_cs_pumpshotgun", 2500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_real_cs_grenade", 15000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Flash", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_real_cs_flash", 2000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Smoke", "models/weapons/w_eq_smokegrenade.mdl", "weapon_real_cs_smoke", 2000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("DualElites", "models/weapons/w_pist_elite_dropped.mdl", "weapon_real_cs_elites", 2300, 10, true, 250, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Deagle", "models/weapons/w_pist_deagle.mdl", "weapon_real_cs_desert_eagle", 2300, 10, true, 250, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 2200, 10, true, 240, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_real_cs_p228", 2100, 10, true, 220, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_real_cs_glock18", 2000, 10, true, 210, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("FiveSeven", "models/weapons/w_pist_fiveseven.mdl", "weapon_real_cs_five-seven", 1900, 10, true, 200, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Knife", "models/weapons/w_knife_t.mdl", "weapon_real_cs_knife", 2000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})


--Food
AddCustomShipment("Tasty Baby", "models/props_c17/doll01.mdl", "sent_foodbaby", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Beer Case", "models/props/CS_militia/caseofbeer01.mdl", "sent_foodbeercase", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Bottle 'o' Water", "models/props/cs_office/Water_bottle.mdl", "sent_foodwater", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Coffee", "models/props/cs_office/coffee_mug.mdl", "sent_foodcoffee", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Chineseeeee", "models/props_junk/garbage_takeoutcarton001a.mdl", "sent_foodchinese", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Milk", "models/props_junk/garbage_milkcarton001a.mdl", "sent_foodmilk", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Melon", "models/props_junk/watermelon01.mdl", "sent_foodmelon", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Soda", "models/props_junk/PopCan01a.mdl", "sent_foodsoda", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})
AddCustomShipment("Slice Of Pizza", "models/foodmod/pizzaslice.mdl", "sent_foodpizzaslice", 1000, 10, true, 100, false, {TEAM_FOOD, TEAM_ADMIN})

How to change the gamemode Name And Version
-go to gamemode folder
-open init.lua (right click open with notepad++)
-Scroll To Bottom

  • Look for

GM.Name = "DarkRP "..DARKRPVERSION

Edit DarkRP To the Gamemode Name

Then Scroll Up Just under The Change Log You Will see


DARKRPVERSION = "2.3.5"

Edit 2.3.5 To The Verison you Want

How to Fix Doors

The buy door menu works by making the client execute the command “say /toggleown” which buys the door.
Garry blocked the word “toggle” so you have to alter the command.

Open up cl_vgui.lua and open your replace window (control+H). Replace the string “/toggle” (without quotes) with the string “/” (without quotes) everywhere in the file. This changes the command triggered from /toggleown to /own.

Next, we have to make DarkRP understand this new command.

Open entity.lua and open your replace window again. Again, replace the string “/toggle” (without quotes) with “/” (without quotes). Now DarkRP can understand the new command the way it knew the old one.

Now, there are other DarkRP ConCommands like “/toggleownable” and “/togglecpownable” (both for admins). These will be fixed using the above instructions too. So here’s how the commands changed:

/toggleown becomes /own
/toggleownable becomes /ownable
/togglecpownable becomes /cpownable

Now the buy door menu should work for you.
Sorry if somebody somewhere fixed this already or told how to do it, but I searched for hours yesterday and today and found nothing specifically for this problem.

Hope this helped!

(This door Fix Aint Mne, ill Write My Own Later)

More Will Be added Over The Weeks

If You want private help! email me elliott_150@hotmail.com

-yours helping: pk owner

They can be in addons…
And there’s a lot of stupid jobs, as the wirenerd. You need to edit whole gamemode to keep wirenerd only can use wire tools. And team admin is stupid too. Admin can spawn weapons. Why he will buy?

Don’t change it. His name is DarkRP (version) and I can’t handle names like PK OWNER SUPER DARKRP… Where you added 5 stupid jobs and who did it don’t have credits.

Just update gamemode…

any comments?

i hate gamemode names like that (my servers dark gamemode name is OfficeRP V3

HAHAHAHAHA OMG YOU’re the OfficeRP guy? You joined my server and people wanted you banned because you only joined to say “JOIN MY OFFICERP SERVER”. Hahahaha I don’t wanna see it.

wat server is yours?

Hurray!

FPtje good or not?

any posters? if u used this is any way

I think it’s good, yes.

ty got any ideas to add?

can i also add u on steam i played with u in game before

No, and no

Lol do we need this?
I mean,
Falco explained everything in his Dark RP Thread…

lol but this is for custom stuff dont say it ant needed how would you like it i flipped it round! and you spent 3 hrs doing this guide!

Why did you make this >.< This makes more people make Dark RP servers… Oh well, its pretty descriptive on the Up side.

ty

i love rp btw, well more coding it than playing it

This guy is just so desperate to get players on his server, he joins random DarkRP servers to advertise his own, and he has about 5 threads here about his shitty server. Shutup about it already, nobody likes it.

Edit: Why was this made? This will just make people make darkrp servers, don’t tell them how to, they may just make it a fun gamemode instead of darkrp on their servers.

lol phail! it says how to and also give me links to were i have advertised my server! also reported!