Hi all, i have a simple question: how to:save skin after death and give it to player after respawn? my code don't work, and sorry, but i delete code....(((
it's my sketch:
skin = getPlayerSkin(source)
function spawnOnFinish (prevA, curA, autoLogin)
outputChatBox ("You are spawned ...", source, 38,120,50, false)
spawnPlayer (source, 0, 0, 5, 0, skin, 0, 0, Gamers)
else
spawnPlayer (source, 0, 0, 5, 0, math.random(50,60), 0, 0, Players)
fadeCamera (source, true)
setCameraTarget (source, source)
end
addEventHandler("onClientDownloadFinished", getRootElement(), spawnOnFinish)
----\
It's from wiki, but i try to spawn player after all Downloadings Finished, and save skin after death... anybody have any ideas?
----/