Garry's Mod

Can someone write a hook for me?

Submitted by Nomaleus, , Thread ID: 116906

Thread Closed
14-01-2019, 04:04 PM
This post was last modified: 14-01-2019, 04:05 PM by Nomaleus
#1
I need two hooks for garry's mod. I need to disable spawn props in some DarkRP professions. And I need to disablebutton presses in some professions.Someone can help my server, I'm not good at lua, but I know python well.

RE: Can someone write a hook for me?

#2
people generally aren't going to just give you free stuff, you'd best be willing to pay.

RE: Can someone write a hook for me?

#3
Idk if darkrp uses the sandbox one, but heres the spawn one sort of, i also dont know the darkrp code to check jobs, so replace "Getdarkrpjob" with that

hook.Add("PlayerSpawnSENT", "SandboxDisabler", function(ply, class)
if ply:Getdarkrpjob() == "whatiwannaforbid" then return false end
end)

RE: Can someone write a hook for me?

#4
thanks ! is goodSmile! really !!! i like this post !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Users browsing this thread: 2 Guest(s)