ok i can't figure out the new lua things so can anyone help me?
[CODE]function GMS.RunChatCmd( ply, ... )
if # arg > 0 and GMS.ChatCommands[ arg[1] ] != nil then
if ply:GetNWString( "AFK" ) != 1 or (ply:GetNWString( "AFK" ) == 1 and arg[1] == "!afk") then
local cmd = arg[1]
table.remove( arg, 1)
GMS.ChatCommands[cmd]:Run( ply, unpack( arg ) )
return ""
end
end
end[/CODE]
[lua]ply:GetNWString( "AFK" ) != 1[/lua]
:gonk:
anyone?
[editline]03:54PM[/editline]
nvm garry rolled back the update
Sorry, you need to Log In to post a reply to this thread.