I’m a complete noob when it comes to LUA (or coding in general), so please excuse me when I ask this question. But I’m curious on how to have a specific player (using SteamID) they’ll receive a specific weapon on spawn. I know it’s something related with the PlayerSpawn function but I can’t get it to correctly work properly with SteamID.
Do you have any code to show yet?
I mean I had something, but to be honest I really don’t know what I’m doing so it’d be pointless
hook.Add(“PlayerLoadout“, “CoolName“, function(ply) if ply:SteamID() == “your steamid“ then ply:Give(“your weapon“) end end)