downloadstuff
Active member
- Joined
- Apr 4, 2015
- Messages
- 82
- Reaction score
- 0
Hey guys, how do i detect in cleo if i got shot?
obviously this is not the objective of detecting when i am getting shot.
but could anyone replace PLAYERACTOR_GOT_SHOT (example) with the correct function?
( p.s i do not want to save the current health and compare with previous. i just want a function that makes it prettier
Code:
{$CLEO .cs}
//-------------MAIN---------------
0662: NOP "TH3RM4L"
:NONAME_11
wait 0
if
PLAYERACTOR_GOT_SHOT
then
0AD1: show_formatted_text_highpriority "taking bullets" time 1500
end
jump @NONAME_11
obviously this is not the objective of detecting when i am getting shot.
but could anyone replace PLAYERACTOR_GOT_SHOT (example) with the correct function?
( p.s i do not want to save the current health and compare with previous. i just want a function that makes it prettier