• how to turn off salary
    7 replies, posted
How to turn off salary?
if it should be turned off for all, download the addon darkrp modifications. in there you can change anything thats..well, changeable. If its for one specific job, just give it zero salary in the job creation
for everyone.
I couldn't find an on/off setting, but I guess you could go to settings.lua line ~232 and just set GM.Config.paydelay to some absurd number.
I think setting the pay on jobs to 0 would help but there is also the option of using a hook that is called within DarkRP to prevent a player from being paid. Example (Not tested but should work on the server side): hook.Add('playerGetSalary', 'disableJobSallery', function(ply); return true, false, 0; end)
ty man <3
Try this in addons/darkrpmodification-master/lua/autorun/sh_disable.lua ( if file path doesn't exist, create it. ) if SERVER then hook.Add('playerGetSalary', 'disableJobSallery', function(ply); return true, false, 0; end) end
Sorry, you need to Log In to post a reply to this thread.