daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest May 16th, 2018 106 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top