daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest May 16th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top