Ulysses Stuff > Ulysses Release Archives
AAFK V_3.1 : Anti-AFK system for Garry's Mod
MrPresident:
yes, you would need to replace it with:
if pl:IsAdmin() then
with
if pl:IsAdmin() or pl:IsUserGroup("mod") then
Nekomi:
well, i forgot one, so if i do
if pl:IsAdmin() or pl:IsUserGroup("mod") or pl:IsUserGroup("NivMax") or pl:IsUserGroup("NivMax") and GetConVarNumber( "ulx_afk_ignoreadmins" ) == 1 then
this will work ?
MrPresident:
For this, you would need to close the first set of arguments in parenthesis.
if ( pl:IsAdmin() or pl:IsUserGroup("mod") or pl:IsUserGroup("NivMax") or pl:IsUserGroup("NivMax") ) and GetConVarNumber( "ulx_afk_ignoreadmins" ) == 1 then
ProxyRP:
Thank you so much, this will be very useful.
Jamster:
Is there someway to echo the AFK only to staff and the person directly?
So it doesn't come in chat for other users, at all, even as a "(Someone)"
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version