Monty Posted June 20, 2012 Share Posted June 20, 2012 is it possible to seva the team after the dead... here's a part of a code addEventHandler( "onPlayerWasted", getRootElement( ), function() setTimer( spawnPlayer, 4000, 1, source, 1177.5682373047, -1323.2587890625, 14.077121734619,0, getElementModel(source) ) end ) Link to comment
Wei Posted June 20, 2012 Share Posted June 20, 2012 bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil ] ) Look what is the last argument... Link to comment
Monty Posted June 20, 2012 Author Share Posted June 20, 2012 what's wrong in this? addEventHandler( "onPlayerWasted", getRootElement( ), function() setTimer( spawnPlayer, 4000, 1, source, 1177.5682373047, -1323.2587890625, 14.077121734619,0, getElementModel(source), getPlayerTeam(source) ) ) end ) Link to comment
Guest Guest4401 Posted June 20, 2012 Share Posted June 20, 2012 addEventHandler( "onPlayerWasted", getRootElement( ), function() setTimer( spawnPlayer, 4000, 1, source, 1177.5682373047, -1323.2587890625, 14.077121734619,0, getElementModel(source),0,0, getPlayerTeam(source) ) ) end ) Link to comment
Guest Guest4401 Posted June 20, 2012 Share Posted June 20, 2012 thanks bro you're welcome. 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