Lurk
Active Member
- Joined
- Dec 4, 2017
- Messages
- 336
- Reaction score
- 49
I'm using tfs 0.4 and this custom aol
and it works great, but if I kill someone who's using this aol, I don't get any frags which is kinda bad, how can I fix this?
edit: I just realized no frags are being counted at all, I already checked my config.lua for useFragHandler, deathListEnabled and etc and everythign seems fine, I don't think there's anything wrong with my creaturescripts either
LUA:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
if isPlayer(cid) == true then
if (getPlayerSlotItem(cid, 2).itemid == 10133) then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
return TRUE
end
end
return TRUE
end
edit: I just realized no frags are being counted at all, I already checked my config.lua for useFragHandler, deathListEnabled and etc and everythign seems fine, I don't think there's anything wrong with my creaturescripts either
Last edited: