good and got the scripts I think it's little old but if someone could ayuar to modify. they are grateful.
good hints them the script. to forget that fails me, for the death of a player not aparese the corpse. Here I leave the script to modify it and help me.
good hints them the script. to forget that fails me, for the death of a player not aparese the corpse. Here I leave the script to modify it and help me.
HTML:
function onDeath(cid, corpse)
local table = {
[1] = 1, --[vocation] = id do corpse
[2] = 1,
[3] = 1,
[4] = 1
}
doTransformItem(corpse.uid, table[getPlayerVocation(cid)] )
doDecayItem(corpse.uid)
end