Guest User

Untitled

a guest
May 16th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. local trofeo = {
  2. id = 2134,
  3. count = 1
  4. }
  5. function onKill(cid, target, lastHit)
  6. if isPlayer(cid) and isPlayer(target) and lastHit then
  7. doPlayerAddItem(cid,trofeo.id,trofeo.count)
  8. doSetItemAttribute(trofeo.id,"description","Descripcion del trofeo.")
  9. doSetItemAttribute(trofeo.id,"name"," " .. getCreatureName(cid) .. "'s trofeo")
  10. end
  11. return true
  12. end
Add Comment
Please, Sign In to add comment