Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local trofeo = {
- id = 2134,
- count = 1
- }
- function onKill(cid, target, lastHit)
- if isPlayer(cid) and isPlayer(target) and lastHit then
- doPlayerAddItem(cid,trofeo.id,trofeo.count)
- doSetItemAttribute(trofeo.id,"description","Descripcion del trofeo.")
- doSetItemAttribute(trofeo.id,"name"," " .. getCreatureName(cid) .. "'s trofeo")
- end
- return true
- end
Add Comment
Please, Sign In to add comment