Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Put this script inside: garrysmod/lua/autorun
- if (CLIENT) then return end
- local spawnPositions = {
- Vector(-6785, 8808, -14184),
- Vector(6784, 9066, -14184),
- Vector(6801, 8578, -14184)
- }
- hook.Add("PlayerSpawn", "overrideSpawnpoints", function(ply)
- if (game.GetMap() == "rp_downtown_evilmelon_v3") then
- timer.Simple(0.001, function()
- local randomPosition = table.Random(spawnPositions)
- ply:SetPos(randomPosition)
- )
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement