amm2100 Posted July 9, 2015 Share Posted July 9, 2015 (edited) I need to spawn the Player According to his Team i made 2 team one local Red = createteam( "RedTeam" ) local Blue = createteam( "BlueTeam" ) How spawn and Re-spawn them according to Team Edited July 16, 2015 by Guest Link to comment
lolman Posted July 9, 2015 Share Posted July 9, 2015 something like this? function blabla(thePlayer) setPlayerTeam(thePlayer, Red) end addEventHandler("onPlayerSpawn", getRootElement(), blabla) Link to comment
amm2100 Posted July 9, 2015 Author Share Posted July 9, 2015 Nope , I need onPlayerWaste if He red spawn in X ,Y ,Z and if He Blue spawn in XBlue ,YBlue ,ZBlue Link to comment
Calculador Posted July 9, 2015 Share Posted July 9, 2015 Nope , I need onPlayerWaste if He red spawn in X ,Y ,Zand if He Blue spawn in XBlue ,YBlue ,ZBlue Okey you should use these functions: spawnPlayer onPlayerWasted getTeamFromName good luck! Link to comment
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