Jump to content

HELP!


Nerses

Recommended Posts

Posted

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.:)

Posted

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 

Datastore - Store data to a database quickly. (Useful for saving scripted tables)

Posted

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) 

Business System viewtopic.php?f=108&t=35797

Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726

SQLite Tutorial viewtopic.php?f=148&t=38203

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