X
Xikini
Guest
TFS 0.3.7
onStatsChange only checks if a creature does something to another creature.
Wondering if anyone knows how to stop the rest of the (or all) healing sources.
This includes item regeneration, food regeneration, random scripts healing players.
For clarity's sake.
Cheers,
Xikini
onStatsChange only checks if a creature does something to another creature.
Wondering if anyone knows how to stop the rest of the (or all) healing sources.
This includes item regeneration, food regeneration, random scripts healing players.
For clarity's sake.
Code:
function areWeAllowedToHealYou?(cid)
if getPlayerStorageValue(cid, 45001) == 1 then
return stop_healing_me_plox
end
return true
end
Cheers,
Xikini