boby psaico
Member
- Joined
- Oct 17, 2009
- Messages
- 84
- Reaction score
- 5
How to make an event where all players who attack certain monsters will win a storage?
My scripts isn't working:
Only the last killer is earning the storage :/
My scripts isn't working:
Code:
function onKill(cid, target, lastHit)
if getCreatureName(target) == "Jaul" and isMonster(target) and isPlayer(cid) then
setPlayerStorageValue(target, 33000, 1)
end
return true
end
Only the last killer is earning the storage :/