• vehicle problem darkrp
    3 replies, posted
vehicle problem darkrp i need disable ability remove cars by remover, and disable ability set no collide to own car.
You need to go in [code]/garrysmod/addons/darkrpmodification-master/lua/darkrp_config/setting.lua[/code] then go line 440 - 450 [CODE]-- Properties set to true are allowed to be used. Values set to false or are missing from this list are blocked. GM.Config.allowedProperties = { remover = false, ignite = false, extinguish = true, keepupright = true, gravity = true, collision = false, skin = true, bodygroups = true, }[/CODE] that's will disable these ability globally.
[QUOTE=Ezotose;51784114]You need to go in [code]/garrysmod/addons/darkrpmodification-master/lua/darkrp_config/setting.lua[/code] then go line 440 - 450 [CODE]-- Properties set to true are allowed to be used. Values set to false or are missing from this list are blocked. GM.Config.allowedProperties = { remover = false, ignite = false, extinguish = true, keepupright = true, gravity = true, collision = false, skin = true, bodygroups = true, }[/CODE] that's will disable these ability globally.[/QUOTE] thanks, but i need disable ability remove cars by tool remover
[QUOTE=BucikPRO;51788782]thanks, but i need disable ability remove cars by tool remover[/QUOTE] [URL="http://wiki.garrysmod.com/page/SANDBOX/CanTool"]SANDBOX:CanTool[/URL] Shitty mobile example: [code] hook.Add("CanTool", "Disable Remover on cars", function(ply, tr, tool) if tool == "Remover" and !ply:IsAdmin and tr.Entity == "prop_vehicle_jeep" then return false end)[/code]
Sorry, you need to Log In to post a reply to this thread.