Hey,
when someone shoots at me I want that only after the second bullet which hits me I get a message (in onPlayerDamage):
if weapon then
if getElementData(player, "shot1") == false then
setElementData(player, "shot1", true)
return
end
end
if getElementData(player, "shot1") then
setElementData(player, "shot1", false)
end
if place == 7 then
outputChatBox("You broke your left leg", player)
end
The problem is that the message gets output after the first time I get shot.