Huntre
Member
- Joined
- Mar 22, 2011
- Messages
- 70
- Solutions
- 1
- Reaction score
- 8
Well I'm trying to put in tfs 1.3 for the player with a summoned bug not receiving damage but not going I already added the event in login.lua and will not anyone can help?
In login.lua is this way player:registerEvent("SemDano").
In login.lua is this way player:registerEvent("SemDano").
Code:
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
if isPlayer(creature) and creature:getSummons()[1] then
return false
end
return true
end