Hello, I installed pac3 on my server, and I wanted to restrict it so that only vips and up would be able to use it.
I put this code in garrysmod/lua/autorun/server and named it pac3restriction.lua:
[lua] hook.Add(“PrePACConfigApply”, “vips only”, function(ply, outfit_data)
if not ply:Isvip() then
return false, “You need to donate!”
For some reason it still let’s users use it, am I putting it in the wrong file or something? Any help would be appreciated.