When a player who nick name is not English join the ser , other player crash.
So i want to write a script tocheck their name when their first spawn.
What should i put in ‘if’ ?
function Namecheck( ply ) name = ply:Nick if !( name = ) then ply:Kick("Please use English name!") end hook.Add( "PlayerInitialSpawn", "namecheck", Namecheck )
(User was banned for this post ("'fix my code', undescriptive thread title" - Gran PC))