Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onDeath(cid, corpse, killer)
- local corpses = {
- [1] = 2333, -- [VOCATION] = CORPSE ID
- [2] = 2334,
- [3] = 2335,
- [4] = 2336,
- }
- if isPlayer(cid) then
- doTransformItem(corpse.uid, corpses[getPlayerVocation(cid)])
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement