if player death he see an window "you are death.." , i dont want it i want to fix that when the player death he get tp to the x y z place and he get full hp i already use this script but it doesnt work perfect :S I get tp but i dont get full hp :s its mean that i get tp but i am dead xd
PHP:
function onDeath(cid, corpse, lastHitKiller, mostDamageKiller)
doCreatureAddHealth(cid, 9999)
doCreatureAddHealth(cid, 10, getCreatureMaxHealth(cid))
local pozycja = {x=1369, y=1225, z=7}
doTeleportThing(cid, pozycja)
end