[QUOTE=mkiplm;21225750]I have a Glitch in my server for some reason none of the guns are usable when u buy them.[/QUOTE]
Are gun licenses enabled?
Put rp_licence 0 in your console and try again.
Do the guns float in the air when you spawn them from the shipment?
[QUOTE=Drakehawke;21226646]Are gun licenses enabled?
Put rp_licence 0 in your console and try again.
Do the guns float in the air when you spawn them from the shipment?[/QUOTE]
I got it to work finaly it was that i had all the extra weapons in there and i had to download cs pack fr the weapons for them to work >.<.
Umm while i am on here i might ask. i been on other rp servers and they have a car that every one can see like vett and stuff i add Shelby mustang and i did the resource file to add file to download. But people still see error. I can add the file of what it looks like if needed. and how would i go about npcs that sell stuff and buy's stuff?
[QUOTE=Dino Penis;21209519]Use Sourcemod..................[/QUOTE]
I don't know how this is helpful to me, I'm trying to disable the admin tab in the F4 menu for everyone.
[QUOTE=mkiplm;21226781]I got it to work finaly it was that i had all the extra weapons in there and i had to download cs pack fr the weapons for them to work >.<.
Umm while i am on here i might ask. i been on other rp servers and they have a car that every one can see like vett and stuff i add Shelby mustang and i did the resource file to add file to download. But people still see error. I can add the file of what it looks like if needed. and how would i go about npcs that sell stuff and buy's stuff?[/QUOTE]
Are you using ULX as an admin mod?
If so, you could try using ULXs forced download system.
[QUOTE=Drakehawke;21227524]Are you using ULX as an admin mod?
If so, you could try using ULXs forced download system.[/QUOTE]
I am using assmod Ulx Always seem to hate me. I can never get it working right.
Ill replace the assmod if u can some how find a good ulx that works right >.< the Ulxsite is a peice.
[QUOTE=mishappp;21227154]I don't know how this is helpful to me, I'm trying to disable the admin tab in the F4 menu for everyone.[/QUOTE]
Using sourcemod makes admins not have access to the admin shit. I think.
[QUOTE=Dino Penis;21228073]Using sourcemod makes admins not have access to the admin shit. I think.[/QUOTE]
I do not want to use sourcemod, I would rather stick with ulx, I'm trying to find a way within the gamemode to disable the ability to change admin functions.
[QUOTE=mishappp;21228264]I do not want to use sourcemod, I would rather stick with ulx, I'm trying to find a way within the gamemode to disable the ability to change admin functions.[/QUOTE]
So you don't want admins to be able to change the f4 tab for admin or players without admin rights can see it?
If you don't trust admins with admin settings you shouldn't make them admins.
[QUOTE=FPtje;21232716]If you don't trust admins with admin settings you shouldn't make them admins.[/QUOTE]
I second that :D
Well I tried adding another respected group but it still gives them the ability to change stuff, what admin ability gives them access to the admin menu.
and yes mkiplm thats what I want to be achieved.
The only solution i got for you is sourcemod.
Okay well its not much of a problem really, I do how ever have another question, when you spawn entities in the f4 menu after buying them they become world props, is there anyway to have some (not all) spawn with ownership to the player who spawned them?
One feature I hope to come is a shop tab on the f4 menu for car buying and other stuff :sun:
[QUOTE=mishappp;21233884]Well I tried adding another respected group but it still gives them the ability to change stuff, what admin ability gives them access to the admin menu.
and yes mkiplm thats what I want to be achieved.[/QUOTE]
The default gmod admin status, is what gives them access.
I guess you could revoke the RP admin stuff from them, by using rp_revoke. But you'd have to do it to each individual admin.
[editline]01:23AM[/editline]
[QUOTE=bfking;21237802]One feature I hope to come is a shop tab on the f4 menu for car buying and other stuff :sun:[/QUOTE]
Already exists?
The entities/weapons tab..
[editline]01:23AM[/editline]
[QUOTE=FPtje;21232716]If you don't trust admins with admin settings you shouldn't make them admins.[/QUOTE]
Good point.
rp_revoke says it revokes admin but does nothing.
That's because rp_revoke is for revoking RP admin. If you're a normal admin you'll still see the menu.
And dino penis shut up about sourcemod.
Well said :clap:
Yeah, RP admin allows people to set RP commands. It's a privilege you can give to certain players without giving them full server control. It can still mess the game up though so only give it to people you trust otherwise you'll end up with $2 moneyprinters which print $1000000
[QUOTE=FPtje;21243389]That's because rp_revoke is for revoking RP admin. If you're a normal admin you'll still see the menu.
And dino penis shut up about sourcemod.[/QUOTE]
Ohhhh, I get it now, so that's just for revoking players who you gave RP admin too, not full admin.
How do you get rid of the admin option rp_setmoney <player>?
[QUOTE=Kaleb;21251561]How do you get rid of the admin option rp_setmoney <player>?[/QUOTE]
darkrp/gamemode/admincc.lua
Line 521:
[lua]concommand.Add("rp_setmoney", ccSetMoney)[/lua]
There you can change the command to something only you know, or just delete the line to remove it completely.
Where in the darkrp gamemode files is the f4 entity spawning defined, making them spawn as world props etc.
Important update:
[lua][ADD] Rp_vote, vote with a keybind! bind a key to rp_vote 1 and rp_vote 0 to vote yes or no without clicking![/lua]
This is useful, but it only works in servers with the latest SVN.
If you put this Lua file in autorun/client it will work in ANY darkRP server, even the very old ones!
[lua]
local function DoVoteAnswerQuestion(ply, cmd, args)
if not args[1] then return end
local vote = 2
if tonumber(args[1]) == 1 or string.lower(args[1]) == "yes" or string.lower(args[1]) == "true" then vote = 1 end
for k,v in pairs(VoteVGUI) do
if ValidPanel(v) then
local ID = string.sub(k, 1, -5)
VoteVGUI[k]:Close()
RunConsoleCommand("vote", ID, vote)
return
end
end
for k,v in pairs(QuestionVGUI) do
if ValidPanel(v) then
local ID = string.sub(k, 1, -5)
QuestionVGUI[k]:Close()
RunConsoleCommand("ans", ID, vote)
return
end
end
end
concommand.Add("rp_vote", DoVoteAnswerQuestion)[/lua]
Vote yes/no with a bind! no clicking!
[QUOTE=FPtje;21268740]Important update:
[lua][ADD] Rp_vote, vote with a keybind! bind a key to rp_vote 1 and rp_vote 0 to vote yes or no without clicking![/lua]
This is useful, but it only works in servers with the latest SVN.
If you put this Lua file in autorun/client it will work in ANY darkRP server, even the very old ones!
[lua]
local function DoVoteAnswerQuestion(ply, cmd, args)
if not args[1] then return end
local vote = 2
if tonumber(args[1]) == 1 or string.lower(args[1]) == "yes" or string.lower(args[1]) == "true" then vote = 1 end
for k,v in pairs(VoteVGUI) do
if ValidPanel(v) then
local ID = string.sub(k, 1, -5)
VoteVGUI[k]:Close()
RunConsoleCommand("vote", ID, vote)
return
end
end
for k,v in pairs(QuestionVGUI) do
if ValidPanel(v) then
local ID = string.sub(k, 1, -5)
QuestionVGUI[k]:Close()
RunConsoleCommand("ans", ID, vote)
return
end
end
end
concommand.Add("rp_vote", DoVoteAnswerQuestion)[/lua]
Vote yes/no with a bind! no clicking![/QUOTE]
Lovely. Now would you please fix the bug that makes you get stuck in a vehicle when you get out of it. It sets you on the body bone so you get stuck inside the car.
So theres no way to stop the "Retrieving Server info"? I really hate it when like 18 people are on and people can't join......... Does BYB have that problem?
[editline]05:21PM[/editline]
[QUOTE=Sgt.Sgt;21274832]Lovely. Now would you please fix the bug that makes you get stuck in a vehicle when you get out of it. It sets you on the body bone so you get stuck inside the car.[/QUOTE]
[Sgt.Sgt posted:
Fix the bug that puts you into the center of a vehicle when you get out. It's annoying as shit.]
I'm pretty sure that's the vehicle's problem, you might want to get a different vehicle or a different car pack.
[QUOTE=Dino Penis;21276420]So theres no way to stop the "Retrieving Server info"? I really hate it when like 18 people are on and people can't join......... Does BYB have that problem?
[editline]05:21PM[/editline]
[Sgt.Sgt posted:
Fix the bug that puts you into the center of a vehicle when you get out. It's annoying as shit.]
I'm pretty sure that's the vehicle's problem, you might want to get a different vehicle or a different car pack.[/QUOTE]
Like I said before. It's not the cars. It's this game mode.
[quote=FPtje]It's not DarkRP.
I've been in a server with one of the latest SVN revisions (BYB rp_evocity)
I saw it happening once, when I asked the guy to try it again he spawned correctly next to the vehicle.
It happened about once every 20 times.[/quote]
:/
Besides DarkRP does nothing when a player leaves a vehicle.
FPP does something, but that's to prevent players from using pods to go through walls which can not be the problem unless you are teleported inside the car after 0.1 seconds.
Can someone help me, when I add my addentities.lua and restart the server, I join then when I go into the gun dealer class and try to spawn a shipment of guns I get this error [code]
You do not have the right job to /buyshipment[/code]
This is my addentities.lua
[lua]AddCustomShipment("Desert eagle", "models/weapons/w_pist_deagle.mdl", "weapon_deagle2", 215, 10, true, 215, true, {TEAM_GUN})
AddCustomShipment("Fiveseven", "models/weapons/w_pist_fiveseven.mdl", "weapon_fiveseven2", 0, 10, true, 205, true, {TEAM_GUN})
AddCustomShipment("Glock", "models/weapons/w_pist_glock18.mdl", "weapon_glock2", 0, 10, true, 160, true, {TEAM_GUN})
AddCustomShipment("P228", "models/weapons/w_pist_p228.mdl", "weapon_p2282", 0, 10, true, 185, true, {TEAM_GUN})
AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_ak472", 2450, 10, false, nil, false, {TEAM_GUN})
AddCustomShipment("MP5", "models/weapons/w_smg_mp5.mdl", "weapon_mp52", 2200, 10, false, nil, false, {TEAM_GUN})
AddCustomShipment("M4", "models/weapons/w_rif_m4a1.mdl", "weapon_m42", 2450, 10, false, nil, false, {TEAM_GUN})
AddCustomShipment("Mac 10", "models/weapons/w_smg_mac10.mdl", "weapon_mac102", 2150, 10, false, nil, false, {TEAM_GUN})
AddCustomShipment("Pump shotgun", "models/weapons/w_shot_m3super90.mdl", "weapon_pumpshotgun2", 1750, 10, false, nil, false, {TEAM_GUN})
AddCustomShipment("Sniper rifle", "models/weapons/w_snip_g3sg1.mdl", "ls_sniper", 3750, 10, false, nil, false, {TEAM_GUN})
AddEntity("Drug lab", "drug_lab", "models/props_lab/crematorcase.mdl", 400, 3, "/buydruglab", {TEAM_GANG, TEAM_MOB, TEAM_DDEALER})
AddEntity("Money printer", "money_printer", "models/props_c17/consolebox01a.mdl", 1000, 2, "/buymoneyprinter")
AddEntity("Microwave", "microwave", "models/props/cs_office/microwave.mdl", 400, 1, "/buymicrowave", TEAM_COOK)
AddEntity("Gun lab", "gunlab", "models/props_c17/TrapPropeller_Engine.mdl", 500, 1, "/buygunlab", TEAM_GUN)
/*
How to add custom vehicles:
FIRST
go ingame, type rp_getvehicles for available vehicles!
then:
AddCustomVehicle(<One of the vehicles from the rp_getvehicles list>, <Price of the vehicle>, <OPTIONAL jobs that can buy the vehicle>)
Examples:
AddCustomVehicle("Jeep", "models/buggy.mdl", 100 )
AddCustomVehicle("Airboat", "models/airboat.mdl" 600, {TEAM_GUN})
AddCustomVehicle("Airboat", "models/airboat.mdl", 600, {TEAM_GUN, TEAM_MEDIC})
Add those lines under your custom shipments. At the bottom of this file or in data/CustomShipments.txt
HOW TO ADD CUSTOM SHIPMENTS:
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)
Notes:
MODEL: you can go to Q and then props tab at the top left then search for w_ and you can find all world models of the weapons!
CLASSNAME OF THE WEAPON
there are half-life 2 weapons you can add:
weapon_pistol
weapon_smg1
weapon_ar2
weapon_rpg
weapon_crowbar
weapon_physgun
weapon_357
weapon_crossbow
weapon_slam
weapon_bugbait
weapon_frag
weapon_physcannon
weapon_shotgun
gmod_tool
But you can also add the classnames of Lua weapons by going into the weapons/ folder and look at the name of the folder of the weapon you want.
Like the player possessor swep in addons/Player Possessor/lua/weapons You see a folder called weapon_posessor
This means the classname is weapon_posessor
YOU CAN ADD ITEMS/ENTITIES TOO! but to actually make the entity you have to press E on the thing that the shipment spawned, BUT THAT'S OK!
YOU CAN MAKE GUNDEALERS ABLE TO SELL MEDKITS!
true/false: Can the weapon be sold seperately?(with /buy name) if you want yes then say true else say no
the price of sold seperate is the price it is when you do /buy name. Of course you only have to fill this in when sold seperate is true.
EXAMPLES OF CUSTOM SHIPMENTS(remove the // to activate it): */
//AddCustomShipment("HL2pistol", "models/weapons/W_pistol.mdl", "weapon_pistol", 500, 10, false, 200, false, {TEAM_GUN, TEAM_MEDIC})
--EXAMPLE OF AN ENTITY(in this case a medkit)
--AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, false, 10, false, {TEAM_GUN}, "models/props_c17/oildrum001_explosive.mdl")
--EXAMPLE OF A BOUNCY BALL: NOTE THAT YOU HAVE TO PRESS E REALLY QUICKLY ON THE BOMB OR YOU'LL EAT THE BALL LOL
--AddCustomShipment("bball", "models/Combine_Helicopter/helicopter_bomb01.mdl", "sent_ball", 100, 10, true, 10, true)
-- ADD CUSTOM SHIPMENTS HERE(next line):
-- CS:S Weapons:
AddCustomShipment("M249", "models/weapons/w_mach_m249para.mdl", "weapon_mad_m249", 6000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 4000, 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("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("SG552", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 4000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("G3SG1", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 4000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("SG550", "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("P90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 3500, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("TMP", "models/weapons/w_smg_tmp.mdl", "weapon_mad_tmp", 3500, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("AutoShotgun", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 3000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("Grenade", "models/weapons/w_eq_fraggrenade.mdl", "weapon_mad_grenade", 15000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("Flash", "models/weapons/w_eq_flashbang_thrown.mdl", "weapon_mad_flash", 2000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("Smoke", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_smoke", 2000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("Dual Elites", "models/weapons/w_pist_elite_dropped.mdl", "weapon_mad_dual", 2300, 10, true, 250, false, {TEAM_GUN})
AddCustomShipment("Deagle", "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("P228", "models/weapons/w_pist_p228.mdl", "weapon_mad_p228", 2100, 10, true, 220, false, {TEAM_GUN})
AddCustomShipment("Five-Seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_mad_57", 1900, 10, true, 200, false, {TEAM_GUN})
-- Half life 2 weapons:
AddCustomShipment("AR2", "models/weapons/w_irifle.mdl", "weapon_mad_ar2", 4000, 10, false, 0, false, {TEAM_GUN})
AddCustomShipment("MP7", "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("Pistol", "models/weapons/w_pistol.mdl", "weapon_mad_usp_match", 1800, 10, true, 190, false, {TEAM_GUN})
-- Other:
AddCustomShipment("Medic kit", "models/items/w_medkit.mdl", "weapon_mad_medic", 2300, 10, false, 0, false, {TEAM_MEDIC})
-- Insane weapons: (Remove the "--" at the start of each to activate)
AddCustomShipment("Grenade launcher", "models/weapons/w_shotgun.mdl", "weapon_mad_grenadelauncher", 20000, 10, false, 0, false, {TEAM_GUN})
-- AddCusto
So theres no way to stop the "Retrieving Server info"? I really hate it when like 18 people are on and people can't join......... Does BYB have that problem? Theres nothing to prevent this? Does every DarkRP server have this problem?
Sorry, you need to Log In to post a reply to this thread.