• DarkRP 2.4.X
    1,868 replies, posted
HALP After server update i got the biggest problem you can ever get into. Now i started server, entered it, and my MOTD was TF 2 Default Server MOTD but it still wrote ULX MOTD. After that, i chose a job, and guess what! Yes, NO WEAPONS. Nothing was on me, but Physgun, GravGun and Toolgun & Camera. AND i couldnt spawn any weapon from Q menu beacuse it said "You can not use this" Now, WHAT THE HELL? I didnt do anything with DarkRP but adding 2/3 more jobs.
[QUOTE=Juppie902;23005522]HALP After server update i got the biggest problem you can ever get into. Now i started server, entered it, and my MOTD was TF 2 Default Server MOTD but it still wrote ULX MOTD. After that, i chose a job, and guess what! Yes, NO WEAPONS. Nothing was on me, but Physgun, GravGun and Toolgun & Camera. AND i couldnt spawn any weapon from Q menu beacuse it said "You can not use this" Now, WHAT THE HELL? I didnt do anything with DarkRP but adding 2/3 more jobs.[/QUOTE] The MOTD thing is a ULX problem, not DarkRP. Post your custom jobs here. The weapon spawning, try rp_adminsweps 0
Nvm, reinstalled ULX, Well the last few things i did on the server was adding new addons for ULX adminmod Ill try to delete them, if that wont work ill just delete DarkRP + ULX, and then SVN everything from scratch. Or plan C: delete the server and all of its database, remake everything from this: " EDIT: Mah, Solved.
The first three letters of those errors tell me that it's not DarkRP that is fucking up.
-snip-
Deadeye and I have been working on a website to help you guys. If you want you can check it out. It includes - FAQ's on DarkRP - DarkRP Commands - DarkRP Classmaker - About DarkRP We also include updates and Useful Links & More. Development: - Vehicle Maker [Updating Possibly] - Entity Maker [Updating Possibly] - Weapon Maker [Under Development] Please enjoy we just put this all together last night visit our site and yes DeaDeye agreed to let me put it in his name :D [url]www.deadeye.ws[/url] Note: If the [url]www.deadeye.ws[/url] isn't working you just goto [url]http://deadeye.ws[/url]
What happened to Allowed props and banned props in the newest revision?
[QUOTE=dpoolas;23067520]What happened to Allowed props and banned props in the newest revision?[/QUOTE] It's now part of FPP, to ban a prop, right click it in the spawn menu and click "Add to FPP blocked models", you can view/edit the banned props settings in Q > Utilities > Falco's Prop Protection > Admin Settings > Banned Models Settings.
Hi, I have a problem with the last dark rp revision(645) I start my server, but the team spawn position don't work. Before worked. I tried with chat command "/addspawn citizen" but didnt work. I have mysql database already. Whats the problem, the last darkrp revision or any of my configs? Anyone can help me?
Love the 3D Voice. Only problem with it is the phone, even when talking to someone on the phone, 3D voice still applies. EDIT: Your switch with the banned props to FPP doesn't seem to work on my server, users are still allowed to spawn the banned props.
[QUOTE=timthefunnyman;23074234]Love the 3D Voice. Only problem with it is the phone, even when talking to someone on the phone, 3D voice still applies. EDIT: Your switch with the banned props to FPP doesn't seem to work on my server, users are still allowed to spawn the banned props.[/QUOTE] It works for me. Did u edit the fpp banned props wrong?
how to stop players spawning entities? How can i disable that ?? (they can spawn drugs, take weapons from the weapon menu etc..)
[QUOTE=441boy441;23083754]how to stop players spawning entities? How can i disable that ?? (they can spawn drugs, take weapons from the weapon menu etc..)[/QUOTE] rp_adminsweps 1 rp_adminsents 1 That will make them admin only. Or if you want to stop admins spawning them, you have to go into the shared.lua of each weapon/entity and set SWEP.Spawnable and SWEP.AdminSpawnable to false.
[QUOTE=Drakehawke;23083799]rp_adminsweps 1 rp_adminsents 1 That will make them admin only. Or if you want to stop admins spawning them, you have to go into the shared.lua of each weapon/entity and set SWEP.Spawnable and SWEP.AdminSpawnable to false.[/QUOTE] Thx. i will try if it works.
[CODE]AddCustomShipment("M249 SAW", "models/weapons/w_mach_m249para.mdl", "weapon_mad_m249", 6000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("IMI Galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("AK-47", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 3900, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("FAMAS", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 3900, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 5000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr Scout", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 4500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr Aug", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SG 552 Commando", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("G3/SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SG 550 Sniper", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_mad_ump", 3600, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("FN P90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr TMP", "models/weapons/w_smg_tmp.mdl", "weapon_mad_tmp", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MP5-N", "models/weapons/w_smg_mp5.mdl", "weapon_mad_mp5", 3200, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MAC-10", "models/weapons/w_smg_mac10.mdl", "weapon_mad_mac10", 3000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M1014", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 3000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M3 Super 90", "models/weapons/w_shot_m3super90.mdl", "weapon_mad_m3", 2500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Frag Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_mad_grenade", 15000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Flash Grenade", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_mad_flash", 2000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Smoke Grenade", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_smoke", 2000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Dual Beretta 92s", "models/weapons/w_pist_elite_dropped.mdl", "weapon_mad_dual", 2300, 10, true, 250, false, {TEAM_GUN}) AddCustomShipment("Desert Eagle", "models/weapons/w_pist_deagle.mdl", "weapon_mad_deagle", 2300, 10, true, 250, false, {TEAM_GUN}) AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_mad_usp", 2200, 10, true, 240, false, {TEAM_GUN}) AddCustomShipment("SIG P228", "models/weapons/w_pist_p228.mdl", "weapon_mad_p228", 2100, 10, true, 220, false, {TEAM_GUN}) AddCustomShipment("FN Five-Seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_mad_57", 1900, 10, true, 200, false, {TEAM_GUN}) AddCustomShipment("AR2", "models/weapons/w_irifle.mdl", "weapon_mad_ar2", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MP7A1", "models/weapons/w_smg1.mdl", "weapon_mad_mp7", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SPAS-12", "models/weapons/w_shotgun.mdl", "weapon_mad_spas", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Alyx Gun", "models/weapons/w_alyx_gun_2.mdl", "weapon_mad_alyxgun", 2500, 10, true, 260, false, {TEAM_GUN}) AddCustomShipment("USP Match", "models/weapons/w_pistol.mdl", "weapon_mad_usp_match", 1800, 10, true, 190, false, {TEAM_GUN}) AddCustomShipment("C4 Explosive", "models/weapons/w_c4_planted.mdl", "weapon_mad_c4", 60000, 10, true, 7000, true, {TEAM_GUN}) [/CODE] I'm still having this problem where I can't buy shipments and the money printer icon appears in the top left corner. What's wrong with my addentities.lua custom shipments?
[QUOTE=Combineguy;23086523][CODE]AddCustomShipment("M249 SAW", "models/weapons/w_mach_m249para.mdl", "weapon_mad_m249", 6000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("IMI Galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("AK-47", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 3900, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("FAMAS", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 3900, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 5000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr Scout", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 4500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr Aug", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SG 552 Commando", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("G3/SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SG 550 Sniper", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_mad_ump", 3600, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("FN P90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Steyr TMP", "models/weapons/w_smg_tmp.mdl", "weapon_mad_tmp", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MP5-N", "models/weapons/w_smg_mp5.mdl", "weapon_mad_mp5", 3200, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MAC-10", "models/weapons/w_smg_mac10.mdl", "weapon_mad_mac10", 3000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M1014", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 3000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("M3 Super 90", "models/weapons/w_shot_m3super90.mdl", "weapon_mad_m3", 2500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Frag Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_mad_grenade", 15000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Flash Grenade", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_mad_flash", 2000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Smoke Grenade", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_smoke", 2000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Dual Beretta 92s", "models/weapons/w_pist_elite_dropped.mdl", "weapon_mad_dual", 2300, 10, true, 250, false, {TEAM_GUN}) AddCustomShipment("Desert Eagle", "models/weapons/w_pist_deagle.mdl", "weapon_mad_deagle", 2300, 10, true, 250, false, {TEAM_GUN}) AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_mad_usp", 2200, 10, true, 240, false, {TEAM_GUN}) AddCustomShipment("SIG P228", "models/weapons/w_pist_p228.mdl", "weapon_mad_p228", 2100, 10, true, 220, false, {TEAM_GUN}) AddCustomShipment("FN Five-Seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_mad_57", 1900, 10, true, 200, false, {TEAM_GUN}) AddCustomShipment("AR2", "models/weapons/w_irifle.mdl", "weapon_mad_ar2", 4000, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("MP7A1", "models/weapons/w_smg1.mdl", "weapon_mad_mp7", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("SPAS-12", "models/weapons/w_shotgun.mdl", "weapon_mad_spas", 3500, 10, false, 0, false, {TEAM_GUN}) AddCustomShipment("Alyx Gun", "models/weapons/w_alyx_gun_2.mdl", "weapon_mad_alyxgun", 2500, 10, true, 260, false, {TEAM_GUN}) AddCustomShipment("USP Match", "models/weapons/w_pistol.mdl", "weapon_mad_usp_match", 1800, 10, true, 190, false, {TEAM_GUN}) AddCustomShipment("C4 Explosive", "models/weapons/w_c4_planted.mdl", "weapon_mad_c4", 60000, 10, true, 7000, true, {TEAM_GUN}) [/CODE] I'm still having this problem where I can't buy shipments and the money printer icon appears in the top left corner. What's wrong with my addentities.lua custom shipments?[/QUOTE] Could it possibly be because there's a default shipment called "Desert eagle" as well? [editline]11:41PM[/editline] There's definitely nothing wrong with the syntax, so either you've got one of the model directories wrong or it's what I said above.
[QUOTE=Drakehawke;23088966]Could it possibly be because there's a default shipment called "Desert eagle" as well? [editline]11:41PM[/editline] There's definitely nothing wrong with the syntax, so either you've got one of the model directories wrong or it's what I said above.[/QUOTE] I concur, there appears to be no errors as far as syntax. I checked it with my mediocre RegEx. [code]^AddCustomShipment\(\"[A-Za-z0-9_\./ -]+\", \"[A-Za-z0-9-_\./\\]+\", \"[A-Za-z0-9-_]+\", [0-9]+, [0-9]+, [a-zA-Z]+, [0-9]+, [a-zA-Z]+, \{[A-Za-z_,]*\}\)[/code] Might want to try changing that one to Desert Eagle2 just to see if that clears up any issues.
can some one tell me what i am doing wrong? Because when i put my custom shipments in they wont pop up on F4 screen and i can't switch jobs after i put my custom jobs in: AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_real_cs_m4a1", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 2750, 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("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_real_cs_ump_45", 1500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "weapon_real_cs_p90", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_real_cs_tmp", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_real_cs_mp5a5", 2800, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 1500, 10, false, 0, true, 150 {TEAM_GUN, TEAM_MOB}) 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, true, 250, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_real_cs_grenade", 5000, 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("Deagle", "models/weapons/w_pist_deagle.mdl", "weapon_real_cs_desert_eagle", 2500, 10, true, 250, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 2200, 10, true, 240, true, 220 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_real_cs_p228", 1700, 10, true, 220, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_real_cs_glock18", 1500, 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, true, 200 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("Alcohol", "models/drug_mod/alcohol_can.mdl", "durgz_alcohol", 1000, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Aspirin", "models/jaanus/aspbtl.mdl", "durgz_aspirin", 750, 10, true, 110, false, {TEAM_MOB}) AddCustomShipment("Cigarette", "models/boxopencigshib.mdl", "durgz_cigarette", 400, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Cocaine", "models/cocn.mdl", "durgz_cocaine", 2000, 10, true, 400, false, {TEAM_MOB}) AddCustomShipment("Heroine", "models/katharsmodels/syringe_out/syringe_out.mdl", "durgz_heroine", 500, 10, true, 50, false, {TEAM_MOB}) AddCustomShipment("Lsd", "models/drug_mod/alcohol_can.mdl", "durgz_lsd", 1500, 10, true, 300, false, {TEAM_MOB}) AddCustomShipment("Mushroom", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 1000, 10, true, 200, false, {TEAM_MOB}) AddCustomShipment("Water", "models/drug_mod/the_bottle_of_water.mdl", "durgz_water", 200, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Weed", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 500, 10, true, 50, {TEAM_MOB}) TEAM_DRUG = AddExtraTeam("Drug Dealer", Color(0, 102, 51, 255), "models/player/artic.mdl", [[You are a neighborhood drug dealer. You need to sell your drugs to the citizens for money and run away from the cops. You will get a five seven to protect yourself.]], {"models/weapons/w_pist_fiveseven.mdl"}, "drug", 2, 65, 0, false, false, false) TEAM_THIEF = AddExtraTeam("Thief", Color(0, 0, 0, 255), "models/player/odessa.mdl", [[You lost your stuff and your rich girlfriend. You want to get back at society. The best way you could think of is stealing other peoples stuff! Go around the city and steal all the stuff you can! Just don't get caught]], {"models/weapons/w_crowbar.mdl","models/weapons/w_c4.mdl"}, "thief", 2, 50, 0, false, false, false) TEAM_HITMAN = AddExtraTeam("Hitman", Color(102, 102, 0, 255), "models/player/leet.mdl", [[Your a lone killer. You wanted to take revenge on the city but didn't know who to start with. So you started asking people who you should kill and that just stuck. You always charged your customers $100-$300, and you still do. Go and get hits and kill people silently, or publicly.]], {"models/weapons/w_knife_t.mdl","models/weapons/w_snip_scout.mdl"}, "hitman", 1, 75, 0, true, false, false) sorry im new so i dont know how to put it in the scrolly text format, so it may be hard to read
[lua]AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300 {TEAM_GUN, TEAM_MOB})[/lua] You're missing a comma. Correct AK47: [lua]AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300, {TEAM_GUN, TEAM_MOB})[/lua] Fixed Mac10, same problem: [lua]AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 1500, 10, false, 0, true, 150, {TEAM_GUN, TEAM_MOB})[/lua] Fixed USP (same problem) [lua]AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 2200, 10, true, 240, true, 220, {TEAM_GUN, TEAM_MOB})[/lua] Fixed knife (same problem) [lua]AddCustomShipment("Knife", "models/weapons/w_knife_t.mdl", "weapon_real_cs_knife", 2000, 10, false, 0, true, 200, {TEAM_GUN, TEAM_MOB})[/lua] Your teams have no syntax errors.
[QUOTE=FPtje;23100354][lua]AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300 {TEAM_GUN, TEAM_MOB})[/lua] You're missing a comma. Correct AK47: [lua]AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300, {TEAM_GUN, TEAM_MOB})[/lua] Fixed Mac10, same problem: [lua]AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 1500, 10, false, 0, true, 150, {TEAM_GUN, TEAM_MOB})[/lua] Fixed USP (same problem) [lua]AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 2200, 10, true, 240, true, 220, {TEAM_GUN, TEAM_MOB})[/lua] Fixed knife (same problem) [lua]AddCustomShipment("Knife", "models/weapons/w_knife_t.mdl", "weapon_real_cs_knife", 2000, 10, false, 0, true, 200, {TEAM_GUN, TEAM_MOB})[/lua] Your teams have no syntax errors.[/QUOTE] But are those shipments without commas like destroying my DarkRP? Because i can't even switch jobs and i only see ammo in the buy menu. Not even money printers. And it doesn't show my job name when I start up my server on the HUD and in the TAB screen.
[QUOTE=Pepsi305;23100675]But are those shipments without commas like destroying my DarkRP? Because i can't even switch jobs and i only see ammo in the buy menu. Not even money printers. And it doesn't show my job name when I start up my server on the HUD and in the TAB screen.[/QUOTE] Yeah, just 1 missing comma can break everything.
OK thanks ill see if it works :)
[QUOTE=Combineguy;23086523] I'm still having this problem where I can't buy shipments and the money printer icon appears in the top left corner. What's wrong with my addentities.lua custom shipments?[/QUOTE] Found one invalid model, well, you have the flashbang model set as "models/weapons/w_eq_flashgrenade_thrown.mdl", in my shipments I just have it as "models/weapons/w_eq_flashgrenade.mdl".
Umm i did the fixes and i still can't see jobs... I can see the buy menu fine now but i can't switch jobs? I have also deleted some weapons that came with the LUA like the default shipment SWEPS. Might that cause a problem? i meant SVN not LUA above :)
if you did it incorrectly, yeah
Well all i did was right click on the SWEPS and clicked "Delete" so they are in my Recycle bin right now? Might that be the problem?
Well yeah, because you didn't remove the menu entries.
i put the weapons back in but it still wont work same as before i can see the buy menu but cant switch jobs
[QUOTE=Pepsi305;23099979]can some one tell me what i am doing wrong? Because when i put my custom shipments in they wont pop up on F4 screen and i can't switch jobs after i put my custom jobs in: AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 3000, 10, false, 0, true, 300 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_real_cs_m4a1", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 2750, 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("UMP45", "models/weapons/w_smg_ump45.mdl", "weapon_real_cs_ump_45", 1500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("P90", "models/weapons/w_smg_p90.mdl", "weapon_real_cs_p90", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_real_cs_tmp", 3000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_real_cs_mp5a5", 2800, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Mac10", "models/weapons/w_smg_mac10.mdl", "weapon_real_cs_mac10", 1500, 10, false, 0, true, 150 {TEAM_GUN, TEAM_MOB}) 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, true, 250, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_real_cs_grenade", 5000, 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("Deagle", "models/weapons/w_pist_deagle.mdl", "weapon_real_cs_desert_eagle", 2500, 10, true, 250, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("USP", "models/weapons/w_pist_usp.mdl", "weapon_real_cs_usp", 2200, 10, true, 240, true, 220 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_real_cs_p228", 1700, 10, true, 220, false, {TEAM_GUN, TEAM_ADMIN}) AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_real_cs_glock18", 1500, 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, true, 200 {TEAM_GUN, TEAM_MOB}) AddCustomShipment("Alcohol", "models/drug_mod/alcohol_can.mdl", "durgz_alcohol", 1000, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Aspirin", "models/jaanus/aspbtl.mdl", "durgz_aspirin", 750, 10, true, 110, false, {TEAM_MOB}) AddCustomShipment("Cigarette", "models/boxopencigshib.mdl", "durgz_cigarette", 400, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Cocaine", "models/cocn.mdl", "durgz_cocaine", 2000, 10, true, 400, false, {TEAM_MOB}) AddCustomShipment("Heroine", "models/katharsmodels/syringe_out/syringe_out.mdl", "durgz_heroine", 500, 10, true, 50, false, {TEAM_MOB}) AddCustomShipment("Lsd", "models/drug_mod/alcohol_can.mdl", "durgz_lsd", 1500, 10, true, 300, false, {TEAM_MOB}) AddCustomShipment("Mushroom", "models/ipha/mushroom_small.mdl", "durgz_mushroom", 1000, 10, true, 200, false, {TEAM_MOB}) AddCustomShipment("Water", "models/drug_mod/the_bottle_of_water.mdl", "durgz_water", 200, 20, true, 50, false, {TEAM_MOB}) AddCustomShipment("Weed", "models/katharsmodels/contraband/zak_wiet/zak_wiet.mdl", "durgz_weed", 500, 10, true, 50, {TEAM_MOB}) TEAM_DRUG = AddExtraTeam("Drug Dealer", Color(0, 102, 51, 255), "models/player/artic.mdl", [[You are a neighborhood drug dealer. You need to sell your drugs to the citizens for money and run away from the cops. You will get a five seven to protect yourself.]], {"models/weapons/w_pist_fiveseven.mdl"}, "drug", 2, 65, 0, false, false, false) TEAM_THIEF = AddExtraTeam("Thief", Color(0, 0, 0, 255), "models/player/odessa.mdl", [[You lost your stuff and your rich girlfriend. You want to get back at society. The best way you could think of is stealing other peoples stuff! Go around the city and steal all the stuff you can! Just don't get caught]], {"models/weapons/w_crowbar.mdl","models/weapons/w_c4.mdl"}, "thief", 2, 50, 0, false, false, false) TEAM_HITMAN = AddExtraTeam("Hitman", Color(102, 102, 0, 255), "models/player/leet.mdl", [[Your a lone killer. You wanted to take revenge on the city but didn't know who to start with. So you started asking people who you should kill and that just stuck. You always charged your customers $100-$300, and you still do. Go and get hits and kill people silently, or publicly.]], {"models/weapons/w_knife_t.mdl","models/weapons/w_snip_scout.mdl"}, "hitman", 1, 75, 0, true, false, false) sorry im new so i dont know how to put it in the scrolly text format, so it may be hard to read[/QUOTE] Falco lies! xD, your teams do have problems; You've put an extra true/false at the end when DarkRP is looking for a table there, not a boolean. Here's the working ones: [code] TEAM_DRUG = AddExtraTeam("Drug Dealer", Color(0, 102, 51, 255), "models/player/artic.mdl", [[You are a neighborhood drug dealer. You need to sell your drugs to the citizens for money and run away from the cops. You will get a five seven to protect yourself.]], {"models/weapons/w_pist_fiveseven.mdl"}, "drug", 2, 65, 0, false, false) TEAM_THIEF = AddExtraTeam("Thief", Color(0, 0, 0, 255), "models/player/odessa.mdl", [[You lost your stuff and your rich girlfriend. You want to get back at society. The best way you could think of is stealing other peoples stuff! Go around the city and steal all the stuff you can! Just don't get caught]], {"models/weapons/w_crowbar.mdl","models/weapons/w_c4.mdl"}, "thief", 2, 50, 0, false, false) TEAM_HITMAN = AddExtraTeam("Hitman", Color(102, 102, 0, 255), "models/player/leet.mdl", [[Your a lone killer. You wanted to take revenge on the city but didn't know who to start with. So you started asking people who you should kill and that just stuck. You always charged your customers $100-$300, and you still do. Go and get hits and kill people silently, or publicly.]], {"models/weapons/w_knife_t.mdl","models/weapons/w_snip_scout.mdl"}, "hitman", 1, 75, 0, true, false)[/code]
lol thanks i hope it works.
Sorry, you need to Log In to post a reply to this thread.