5150 Posted November 22, 2015 Posted November 22, 2015 how can i make a spawn point that only a certain team will go to? i want my americans team to spawn in certain locations, and my germans team to spawn in other locations Paid Roleplay Mapper/Server Management - Message on forums or Discord for info Fluent with Owlgaming Code. Discord message for paid full set-ups and help My Discord: 5150#5150 (or .5150) Monky Gaming Roleplay/Adventure Discord (English players and servers interested in collaborating or partnering message me) https://discord.gg/SFBUHknpxy
1LoL1 Posted November 22, 2015 Posted November 22, 2015 how can i make a spawn point that only a certain team will go to? i want my americans team to spawn in certain locations, and my germans team to spawn in other locations Try this: function spawn (player) local players = getPlayerTeam(player) if players and getTeamFromName("Americans") == players then spawnPlayer (source, x, y, z, rotation, skin, interior, dimension) -- Americans spawn else spawnPlayer (source, x, y, z, rotation, skin, interior, dimension) -- other spawn end end addEventHandler("onPlayerWasted", getRootElement(), spawn)
5150 Posted November 22, 2015 Author Posted November 22, 2015 thanks man Paid Roleplay Mapper/Server Management - Message on forums or Discord for info Fluent with Owlgaming Code. Discord message for paid full set-ups and help My Discord: 5150#5150 (or .5150) Monky Gaming Roleplay/Adventure Discord (English players and servers interested in collaborating or partnering message me) https://discord.gg/SFBUHknpxy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now