Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: killforfun on June 15, 2011, 09:39:13 PM

Title: Groups can noclip
Post by: killforfun on June 15, 2011, 09:39:13 PM
OK i wanted to make a group not able to no-clip so i disabled ulx no-clip on that group but they could still no-clip(yes i killed them and they could still no-clip) so what should i do
(I have ulx SVN latest version) 
Title: Re: Groups can noclip
Post by: Aaron113 on June 15, 2011, 10:51:30 PM
ulx noclip only gives them access to use the command ulx noclip.  You'd have to make something custom to block certain groups from using noclip, or you could disable noclip completely and use ulx noclip to noclip yourself.
Title: Re: Groups can noclip
Post by: killforfun on June 16, 2011, 12:55:57 AM
Ok i found a way
mady by: JusticeInACa

Code: [Select]
local function AntiNoclip(ply)
    if ply:IsUserGroup("group name here") then return false end
end
hook.Add("PlayerNoClip","AntiNoclip",AntiNoclip)
save as antinoclip.lua put in lua\autorun\server for it to work
dont forget to replace  if ply:IsUserGroup("group name here")