Nerses Posted March 28, 2014 Share Posted March 28, 2014 How to make that at death the skin has not changed? That is the player chose one skin if and when he died so that his skin has not changed. Many thanks in advance, and more. More importantly explain) P.S. Sorry for illiteracy, friends through a translator I turn to you. Link to comment
justn Posted March 28, 2014 Share Posted March 28, 2014 Use this when the player quit the game setAccountData Use this when the player joins the game getAccountData Use this when the player dies ( You might wanna include the variable you used for the player skin for getAccountData ) spawnPlayer Link to comment
Nerses Posted March 28, 2014 Author Share Posted March 28, 2014 did not understand nothing:( please Write what I specifically need to write a lua file Link to comment
Nerses Posted March 28, 2014 Author Share Posted March 28, 2014 helpppppppppppppppppppppp Link to comment
JR10 Posted March 29, 2014 Share Posted March 29, 2014 This event will be triggered when the player dies, so get his skin and then set a timer to spawn him again with the skin. addEventHandler('onPlayerWasted', root, function() local skin = getElementModel(source) --Now spawn the player using the skin variable with a setTimer end) Link to comment
Gallardo9944 Posted March 29, 2014 Share Posted March 29, 2014 How to make that at death the skin has not changed? That is the player chose one skin if and when he died so that his skin has not changed. Many thanks in advance, and more. More importantly explain) P.S. Sorry for illiteracy, friends through a translator I turn to you. There is a skin randomizer in play resource. Get rid of it. 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