How can I do a first join spawn and when you press any key it Tps you to another spawn ?
I tried to do something like this didn't work...
pls help
didn't get any errors just doesn't work
hook.Add("PlayerButtonDown", function(ply)
if ply.notspawned then ply:SetPos(Vector(123,123,123)) ply.notspawned=nil end
end)
hook.Add("PlayerInitialSpawn", function(ply)
ply.notspawned=true
end)
hook.Add("PlayerButtonDown","keyspawn", function(ply)
if !ply.spawneed then
ply:SetPos(Vector(123, 123, 123))
ply.spawneed = true
end
end)
Sorry, you need to Log In to post a reply to this thread.