• Temporary fix for PlayerPasswordAuth (gatekeeper)
    9 replies, posted
Since the engine update the Steam ID is always STEAM_ID_UNKNOWN in PlayerPasswordAuth, here is a [b]temporary[/b] fix for things such as ban systems etc. [lua] hook.Add('PlayerInitialSpawn', 'GatekeeperFix', function(ply) timer.Simple(1, function() if(ValidEntity(ply)) then local tabret = hook.Call('PlayerPasswordAuth', nil, ply:Nick(), '', ply:SteamID(), ply:IPAddress()); if(tabret) then if(type(tabret) == "table") then local bool = tabret[1]; local str = tabret[2]; if(bool == false) then gatekeeper.Drop(ply:UserID(), str or ''); end elseif(type(tabret) == "boolean") then if(tabret == false) then gatekeeper.Drop(ply:UserID(), ''); end end end end end) end) [/lua]
stop rating me dumb
good job! they're mad.
Wow this fix really works thanks Coder of Sethhack [sp]== Baconbot[/sp].
[QUOTE=Cubar;25769757]Wow this fix really works thanks Coder of Sethhack [sp]== Baconbot[/sp].[/QUOTE] cubar, the best choice for you to do is leave the lua section and never come back.
Yes please do Cubar, your the worst troll I've seen in a while.
[QUOTE=foxxeh;25769949]Yes please do Cubar, your the worst troll I've seen in a while.[/QUOTE] he trolls so bad i wouldnt even consider him a troll
maybe hes just retarded??
[QUOTE=nigga bitch ass;25773465]maybe hes just retarded??[/QUOTE] most probable
I wouldn't call him a retard I think that's going a bit too far, I'd call him slower... than retards
Sorry, you need to Log In to post a reply to this thread.