Svira
Banned User
- Joined
- Jan 27, 2008
- Messages
- 361
- Solutions
- 13
- Reaction score
- 106
Hello dear audience, I have the following problem on src tfs 1.2 and protocol 8.6
"Punching" redskull with a player was very popular, so I decided on optional PVP with Hand open/close support, the code works well, you can mark atas when the hand is closed but:
the problem occurs with AOE spells, then despite the open hand the player gets a skull.
I checked all available topics but none of them solve my problem.
"Punching" redskull with a player was very popular, so I decided on optional PVP with Hand open/close support, the code works well, you can mark atas when the hand is closed but:
the problem occurs with AOE spells, then despite the open hand the player gets a skull.
LUA:
if self and self:isPlayer() and target:isPlayer() then
if self:hasSecureMode() then
return RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER
end
end
I checked all available topics but none of them solve my problem.