Advertisement
RoksasNunes

Death_corpse

Apr 21st, 2013
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. function onDeath(cid, corpse, killer)
  2.  
  3. local corpses = {
  4. [1] = 2333, -- [VOCATION] = CORPSE ID
  5. [2] = 2334,
  6. [3] = 2335,
  7. [4] = 2336,
  8. }
  9.  
  10. if isPlayer(cid) then
  11. doTransformItem(corpse.uid, corpses[getPlayerVocation(cid)])
  12. end
  13. return true
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement