Jump to content

HELP!


Nerses

Recommended Posts

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

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

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...