Garry's Mod

Can someone write a hook for me?

Submitted by Nomaleus, , Thread ID: 116906

Thread Closed

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)

Users browsing this thread: 1 Guest(s)