01-27-2013, 01:04 AM
I recommend adding a return after each TDI.FinalDamage so it doesn't have to check every one if it is one.
Also, this does no checking if the player is authenticated.
Why dont you just do :
ontakedamage()
if isplayerauthenticated(reciever.name) then
TDI.FinalDamage = 0
end
return
Also, this does no checking if the player is authenticated.
Why dont you just do :
ontakedamage()
if isplayerauthenticated(reciever.name) then
TDI.FinalDamage = 0
end
return