• best thing i ever coded
    3 replies, posted
[lua] if CLIENT then return end function meme( ply ) if !string.find( ply:Nick(), "doge" ) == false then ply:Kick( "memes" ) end end hook.Add( "PlayerInitialSpawn", "memekicker", meme ) [/lua] EDIT: I see we have some real memesters in the crowd tonight [highlight](User was banned for this post ("Crap thread / "woof"" - Swebonny))[/highlight]
I hope this is a troll. [lua] hook.Add("PlayerInitialSpawn", "memekicker", function( pl ) if( !string.find(pl:Name(), "doge") ) then pl:Kick("memes"); end end) [/lua] Put it in a server side file and it won't be ran client side.
[QUOTE=c-unit;43549123]I hope this is a troll. [lua] hook.Add("PlayerInitialSpawn", "memekicker", function( pl ) if( !string.find(pl:Name(), "doge") ) then pl:Kick("memes"); end end) [/lua] Put it in a server side file and it won't be ran client side.[/QUOTE] doesn't even work. Your code is almost as trash as your memes
Someone's name could be "Doge" and they won't get kicked.
Sorry, you need to Log In to post a reply to this thread.