Ulysses Stuff > Ulysses Release Archives
AAFK V_3.1 : Anti-AFK system for Garry's Mod
Games_Arsenal96:
Hello I am a server owner and I'm trying to make my server stop the utime from counting up when a player goes AFK how will I do that???
I have your script installed and it works flawlessly except one thing when a player goes AFK they can still get ranks from Ulx_Autopromote how can I stop that from happening?
Server IP is:66.150.188.160:27015
JamminR:
Have this script kick them if they go afk too long.
No ranking that way.
I personally don't like autopromote systems, but, being kicked when AFK too long would definitely prevent that.
Kraken:
--- Quote from: MrPresident on October 25, 2015, 12:21:04 PM ---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
--- End quote ---
So if you want to do admin, and then a custom rank you put the pl:IsAdmin() and then actually write out or pl:IsUserGrouo("namehere") after?
I'm trying to get it so it doesn't kick me (owner) when I afk. Not sure what to replace
if pl:IsAdmin () and GetConVarNumber( "ulx_afk_ignoreadmins" ) == 1 then
with in order to achieve that. I have ignore admin on but my rank is "owner" on the server and team name is Fuhrer
Kraken:
Nvm, it just all around doesn't work, the commands in console don't change anything, set it to no kick just to check, still kicks people. Unless I'm just missing something or doing something wrong.
MrPresident:
This addon is old and likely doesn't work anymore.
I've been meaning to redo it, but haven't had the time.
Navigation
[0] Message Index
[*] Previous page
Go to full version