I want to ban players who are in a steam group. Like anyone who joins the server and is in that group will be auto banned. you'd be helping me out alot. Thanks
Great, was looking for something like this, thanks.
[lua]
require 'furryfiner'
local group = //propably a url
function playerMeta:IsGroupMember( group )
if ( !self.GroupStatus || !self.GroupStatus[ group ] ) then
return nil // unknown case, haven't requested yet
end
return self.GroupStatus[ group ].IsMember
end
function playerspawn4()
if playerMeta:IsGroupMember( group ) then
playerMeta:Ban()
end
end
hook.Add("PlayerInitialSpawn","mahbanner",playerspawn4)
[/lua]
it shows him how to make what he needs. Dont just say 'You code fails' , i didnt see you posting anything useful.
Sorry, you need to Log In to post a reply to this thread.