I need someone to make me a notification lua for when let’s’ say SteamID() == “hurdur” and I need it to be print in console with the print command. Can anyone make a lua that if that SteamID() joins it prints a notification saying, something like “Epic just joined”?
function FirstSpawn( ply )
if ply:SteamID() == “blah” then
for k,v in pairs(player.GetAll()) do – Sends to all players
v:PrintMessage(HUD_PRINTCENTER,“Welcome to the server!”)
hook.Add( “PlayerInitialSpawn”, “playerInitialSpawn”, FirstSpawn )