• DarkRP 2.4.X
    1,868 replies, posted
When you try to run and jump it doesn't work but when you stand still and jump it jumps twice. When you change classes you wont get any weapons.. Note: Garrys Mod updated to Source Engine 2010
[QUOTE=Music;22964717]When you try to run and jump it doesn't work but when you stand still and jump it jumps twice. When you change classes you wont get any weapons.. Note: Garrys Mod updated to Source Engine 2010[/QUOTE] That's probably going to be your reasoning there. Usually when it updates, things break.
[QUOTE=Aomo;22965860]That's probably going to be your reasoning there. Usually when it updates, things break.[/QUOTE] This is way before it happened
[QUOTE=erie1555;22946011]Saving privileges for MYSQL is broken, I believe[/QUOTE] I think the privileges aren't loading when running MYSQL..? Help please :)?
*forget it, now i edited the lua file and all the rest of the luas went crazy and i got like 10 errors from each, clean reinstall should work.* Edit: Oh and how can admin be with unlimited powers for DarkRP? I mean, i played on some good darkrp server half a year ago, there admins could demote players on one click, they could exceed maximum job players can be on (2 mayors, etc) I'm using ULX after using ASSMod (that server had ASSMod too) and on ULX forums nothing mentions anything about darkrp.
It's just some settings, for the demoting thing it's rp_citizen "player" (or whatever you called the citizen team)in the console
[QUOTE=Black Killer;22973446]It's just some settings, for the demoting thing it's rp_citizen "player" (or whatever you called the citizen team)in the console[/QUOTE] Oh, thanks, but how do i make all my admins be able to be mayors or gun dealers even if limit is already reached? i gotta add names at some lua files of darkrp?
I need help with two problems: When sourcemod is installed on the server i cant buy doors, buy thing in F4 menu... nothing works. The server is running Linux. With ULX installed, you lose GMOD superadmin, and DarkRP Superadmin Even tho i have myself as superadmin in ULX, the FPP says i dont have Sadmin and i dont get access to the Admin menu in F4. I have added myself as admin in the admin.lua in the Gamemodefolder
[QUOTE=Music;22954787]Some of my problems: Custom jobs wont show colors on scoreboard Weapons wont give the players them I have disabled gun license. Double jump I want it disabled so I can run and jump. I am having problems with my jobs. It wont show the color of them on the scoreboard and it will not give anyone weapons for there jobs how do I fix it? Job Codes [lua] TEAM_ADMIN = AddExtraTeam("Onduty Admin", Color(255,0,0,0), "models/player/alyx.mdl", [[A server admin thats on-duty!]], {"arrest_stick", "unarrest_stick", "pocket", "door_ram", "keys"}, "admin", 10, 100, 1, false) TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,255,0), "models/player/swat.mdl", [[Special Weapons and Tatics]], {"arrest_stick", "unarrest_stick", "pocket", "door_ram", "weapon_deagle", "weapon_pumpshotgun2", "keys"}, "swat", 5, 60, 0, true) TEAM_NINJA = AddExtraTeam("Ninja", Color(255,0,255,0), "models/player/arctic.mdl", [[Fly around the city and try to steal some stuff!]], {"weapon_spiderman", "keypad_cracker", "lockpick", "keys", "pocket"}, "ninja", 3, 70, 0, true) TEAM_HITMAN = AddExtraTeam("Hitman", Color(0,0,51,0), "models/player/suits/male_07.mdl", [[Get paid to kill people your prices must only be over $50.00]], {"lockpick", "weapon_deagle", "keypad_cracker", "keys", "pocket"}, "hitman", 3, 70, 0, true) TEAM_SECRET = AddExtraTeam("Secret Service", Color(51,51,0,0), "models/player/barney.mdl", [[Get paid to protect the mayor!]], {"weapon_deagle", "keys", "pocket"}, "secret", 4, 70, 0, true) TEAM_HACKER = AddExtraTeam("Hacker", Color(0,102,0,0), "models/player/combine_super_soldier.mdl", [[Get paid to help the police to get into places with keypads!]], {"keypad_cracker", "weapon_deagle", "weaponchecker", "keys", "pocket"}, "hacker", 2, 70, 0, false) TEAM_REAL = AddExtraTeam("Real Estate Agent", Color(153,0,255,0), "models/player/eli.mdl", [[Buy doors and sell them for $100 dollars each!]], {"keys", "pocket"}, "estateagent", 3, 80, 0, false) TEAM_GUARD = AddExtraTeam("Guard", Color(255,255,0,0), "models/player/guerilla.mdl", [[Shop Guard for Hire!]], {"weapon_deagle", "keys", "pocket"}, "guard", 3, 80, 0, false) TEAM_RIOT = AddExtraTeam("Riot Control", Color(255,255,0,0), "models/player/gasmask.mdl", [[You help the police in riots! You must note if you abuse the taser you will be teambanned or kicked.]], {"weapon_deagle", "weapon_ak472", "weapon_teargas", "keys", "pocket"}, "riot", 5, 80, 0, true) TEAM_ANARCHIST = AddExtraTeam("Anarchist", Color(255,255,0,0), "models/Tactical_Rebel.mdl", [[Someone who deson't like the governemnt but isn't a gangster]], {}, "anarchist", 3, 80, 0, false) [/lua] Why wont the weapons work? I want the double jump removed and such because I Like to run and jump[/QUOTE] Haha, thanks for the laugh
[QUOTE=Naquada;22975291]I need help with two problems: When sourcemod is installed on the server i cant buy doors, buy thing in F4 menu... nothing works. The server is running Linux. With ULX installed, you lose GMOD superadmin, and DarkRP Superadmin Even tho i ass myself as superadmin in ULX, the FPP says i dont have Sadmin and i dont get access to the Admin menu in F4. I have added myself as admin in the admin.lua in the Gamemodefolder[/QUOTE] There is a ULX Command. Learn to read the manual ;) ulx adduser [name] superadmin/admin/any other custom group. Good luck
Ulx didn't work for me either (latest SVN). Try using a different revision.
[QUOTE=Juppie902;22975504]There is a ULX Command. Learn to read the manual ;) ulx adduser [name] superadmin/admin/any other custom group. Good luck[/QUOTE] [QUOTE=Naquada;22975291] Even tho i have myself as superadmin in ULX,[/QUOTE] Read the entire post before posting please. [editline]02:04PM[/editline] [QUOTE=FPtje;22975704]Ulx didn't work for me either (latest SVN). Try using a different revision.[/QUOTE] Alright thanks. Do you know anything about the Sourcemod problem i had?
FPtje can you check this on? sh_commands.lua:413 AddValueCommand("rp_max"..CTeam.command.."s", "max"..CTeam.command.."s", max or 5) both "s" have a comma after them, i tryed deleting one of them, then i got error Expected ")" near '"max"', even though i put the ) it still gives that error. Can you check if you have the commas in your files too? :\ something doesnt looks good, even after i clean installed it.
It's a custom team you made incorrectly, not my code. If it was my code you wouldn't be the only one complaining about it.
Yeah youre right (as always) i deleted custom jobs and error dissappeared BUT how come the error appeared only now? a month ago i had the following: SWAT, Black Market Dealer, Barkeeper and two others i removed, then it didnt do anything Edit: Idk where i was wrong, ive sat here rebuilding all jobs from scratch but still get error. TEAM_BLACK = AddExtraTeam("Black Market Dealer", Color(204, 51, 255, 255), "models/player/guerilla.mdl", [[Sell knives, doorbusters, lockpicks, keypad crackers and grenades to Criminals, But watch out for undercover cops!]], {"gmod_tool", "keys", "pocket", "weapon_mad_fists"}, "dealer", 1, 35, 0, 0, false ) // TEAM_BARKEEP = AddExtraTeam("Barkeeper", Color(0, 153, 255, 255), "models/player/Hostage/hostage_01.mdl", [[Open a bar, and sell ciggarettes, water and alcohol.]], {"gmod_tool", "keys", "pocket", "weapon_mad_fists"}, "barkeeper", 1, 40, 0, 0, false ) // TEAM_SWAT = AddExtraTeam("S.W.A.T Officer", Color(9, 12, 123, 255), "models/player/swat.mdl", "models/player/urban.mdl", [[Join with all the other Special Weapons and Tactics members and raid on all suspects and arrest them. Also prevent Terrorism.]], {"weapon_mad_fists", "arrest_stick", "door_ram", "gmod_tool", "keys", "pocket", "stunstick", "unarrest_stick", "weaponchecker", "keypad_cracker", "weapon_mad_mp5", "weapon_mad_usp"}, "SWAT", 4, 75, 0, 1, true ) // TEAM_GUARD = AddExtraTeam("Guard", Color(51, 204, 255, 255), "models/player/barney.mdl", [[ Your job is to guard stores and offer your services as a guard for cash. ]], {"weaponchecker", "keys", "weapon_mad_fists"}, "Guard", 3, 60, 0, 0, true ) // TEAM_TERROR = AddExtraTeam("Terrorist", Color(102, 51, 0, 255), "models/player/artic.mdl", [[ You are a terrorist and must kill people and destroy places such as big shops. You can also kidnap important people. ]], {"weapon_mad_fists", "weapon_mad_c4", "weapon_mad_ak47"}, "Terrorist", 2, 15, 0, 0, false )
[ADD] Support for 3D voice chat! Thanks azuisleet :D
[QUOTE=Juppie902;22976597]Yeah youre right (as always) i deleted custom jobs and error dissappeared BUT how come the error appeared only now? a month ago i had the following: SWAT, Black Market Dealer, Barkeeper and two others i removed, then it didnt do anything Edit: Idk where i was wrong, ive sat here rebuilding all jobs from scratch but still get error. TEAM_BLACK = AddExtraTeam("Black Market Dealer", Color(204, 51, 255, 255), "models/player/guerilla.mdl", [[Sell knives, doorbusters, lockpicks, keypad crackers and grenades to Criminals, But watch out for undercover cops!]], {"gmod_tool", "keys", "pocket", "weapon_mad_fists"}, "dealer", 1, 35, 0, 0, false ) // TEAM_BARKEEP = AddExtraTeam("Barkeeper", Color(0, 153, 255, 255), "models/player/Hostage/hostage_01.mdl", [[Open a bar, and sell ciggarettes, water and alcohol.]], {"gmod_tool", "keys", "pocket", "weapon_mad_fists"}, "barkeeper", 1, 40, 0, 0, false ) // TEAM_SWAT = AddExtraTeam("S.W.A.T Officer", Color(9, 12, 123, 255), "models/player/swat.mdl", "models/player/urban.mdl", [[Join with all the other Special Weapons and Tactics members and raid on all suspects and arrest them. Also prevent Terrorism.]], {"weapon_mad_fists", "arrest_stick", "door_ram", "gmod_tool", "keys", "pocket", "stunstick", "unarrest_stick", "weaponchecker", "keypad_cracker", "weapon_mad_mp5", "weapon_mad_usp"}, "SWAT", 4, 75, 0, 1, true ) // TEAM_GUARD = AddExtraTeam("Guard", Color(51, 204, 255, 255), "models/player/barney.mdl", [[ Your job is to guard stores and offer your services as a guard for cash. ]], {"weaponchecker", "keys", "weapon_mad_fists"}, "Guard", 3, 60, 0, 0, true ) // TEAM_TERROR = AddExtraTeam("Terrorist", Color(102, 51, 0, 255), "models/player/artic.mdl", [[ You are a terrorist and must kill people and destroy places such as big shops. You can also kidnap important people. ]], {"weapon_mad_fists", "weapon_mad_c4", "weapon_mad_ak47"}, "Terrorist", 2, 15, 0, 0, false )[/QUOTE] [code] TEAM_SWAT = AddExtraTeam("S.W.A.T Officer", Color(9, 12, 123, 255), {"models/player/swat.mdl", "models/player/urban.mdl"}, [[Join with all the other Special Weapons and Tactics members and raid on all suspects and arrest them. Also prevent Terrorism.]], {"weapon_mad_fists", "arrest_stick", "door_ram", "gmod_tool", "keys", "pocket", "stunstick", "unarrest_stick", "weaponchecker", "keypad_cracker", "weapon_mad_mp5", "weapon_mad_usp"}, "SWAT", 4, 75, 0, 1, true ) [/code] Try that, it should work now. For future reference, when using more than 1 player model for a job you need to put the list of models inside {}
[QUOTE=FPtje;22976910][ADD] Support for 3D voice chat! Thanks azuisleet :D[/QUOTE] What does this do exactly? Fade out over distance?
[QUOTE=Neo Kabuto;22981997]What does this do exactly? Fade out over distance?[/QUOTE] Video by Azuisleet (who made this possible): [media]http://www.youtube.com/watch?v=kF4hZG6buYw[/media]
[QUOTE=FPtje;22984748]Video by Azuisleet (who made this possible): [media]http://www.youtube.com/watch?v=kF4hZG6buYw[/media][/QUOTE] woooooahhhhhhh that's cool
Are the banned props saved in the database? Cause I've noticed it's all reset to default since I added loads to it. The door groupings reset too. However unownable doors and their titles saved.
I think the privileges aren't loading when running MYSQL..? Can anyone help?
[QUOTE=erie1555;22992127]I think the privileges aren't loading when running MYSQL..? Can anyone help?[/QUOTE] Privileges? Like the rp_grant privileges?
[QUOTE=Drakehawke;22992694]Privileges? Like the rp_grant privileges?[/QUOTE] Yes
FPtje, do you mind telling me what you did for the 3D voice chat stuff? I don't want to update my DarkRP since it's modified, and I'm too lazy to go through DarkRP and look.
In the original revision for it he did [url=http://code.google.com/p/darkrp/source/diff?spec=svn645&r=645&format=side&path=/trunk/gamemode/sv_gamemode_functions.lua]this[/url], then he did [url=http://code.google.com/p/darkrp/source/diff?spec=svn646&r=646&format=side&path=/trunk/gamemode/sv_gamemode_functions.lua]this[/url] and then [url=http://code.google.com/p/darkrp/source/diff?spec=svn646&r=646&format=side&path=/trunk/gamemode/sh_commands.lua]this[/url].
-snip-
When i buy Ammo it says: You have bought a pistol for $50 You have bought a rifle for $100 You have bought a shotgun for $200 i want that changed to You have bought gun ammo for $50 You have bought rifle ammo for $100 You have bought shotgun ammo for $200 Where do i change this?
rp_ammopistolcost rp_ammoriflecost rp_ammoshotguncost if you want the "pistol" changed to "gun", go to main.lua line 1139 and change stuff from there.
[QUOTE=FPtje;23004075]rp_ammopistolcost rp_ammoriflecost rp_ammoshotguncost if you want the "pistol" changed to "gun", go to main.lua line 1139 and change stuff from there.[/QUOTE] Thanks
Sorry, you need to Log In to post a reply to this thread.