CLEO Help need help i cant find no fall damage scripts

CLEO related

neophyte944

New member
Joined
Oct 21, 2020
Messages
3
Reaction score
0
Location
Philippines
* Name of the mod (if the mod doesn't exist, you don't have to tell one):
* Where you saw it (not the server, we mean if you saw any videos/screenshots about it or not): i didnt saw it
* What do you want (the most important part, explain this carefully): no fall damage, even when you jump from the highest tower in SA
* Details (add more details to your request) : just no fall damage, no god mod, not repeat hp
* On/off key (specify it): auto
 

dphome

Well-known member
Joined
Mar 21, 2020
Messages
458
Solutions
9
Reaction score
166
Location
Poland
@neophyte944
Code:
{$CLEO .cs}

//-------------MAIN---------------
thread 'DROP' 
wait 0 

0A8C: write_memory 0x5696DA size 1 value 1 virtual_protect 1
0A8C: write_memory 0x5696D6 size 1 value 1 virtual_protect 1


:DROP_53
wait 0
player.InfiniteRun($PLAYER_CHAR) = true
actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 1, 0) 
if 
    
  $7000 == 1 
jf @DROP_260 

:DROP_75
wait 0 
if 
  $7000 == 0 
jf @DROP_75 
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground 
if 
   not 1@ >= 2.5 
jf @DROP_53
jump @DROP_186 

:DROP_186
wait 0 
jump @DROP_53 

:DROP_260
wait 0 
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground 
if and
   Actor.Animation($PLAYER_ACTOR) == "FALL_FALL"
   not 1@ > 15.0 
jf @DROP_53 

:DROP_309
wait 0 
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground 
if 
   not 1@ > 2.5 
jf @DROP_309 
0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_COLLAPSE" IFP_file "PED" 5.0 loopA 0 lockX 1 lockY 1 lockF 0 time -1 // versionB
jump @DROP_53
 

Attachments

  • droprun.cs
    18.5 KB · Views: 9

neophyte944

New member
Joined
Oct 21, 2020
Messages
3
Reaction score
0
Location
Philippines
@neophyte944
Code:
{$CLEO .cs}

//-------------MAIN---------------
thread 'DROP'
wait 0

0A8C: write_memory 0x5696DA size 1 value 1 virtual_protect 1
0A8C: write_memory 0x5696D6 size 1 value 1 virtual_protect 1


:DROP_53
wait 0
player.InfiniteRun($PLAYER_CHAR) = true
actor.SetImmunities($PLAYER_ACTOR, 0, 0, 0, 1, 0)
if
   
  $7000 == 1
jf @DROP_260

:DROP_75
wait 0
if
  $7000 == 0
jf @DROP_75
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground
if
   not 1@ >= 2.5
jf @DROP_53
jump @DROP_186

:DROP_186
wait 0
jump @DROP_53

:DROP_260
wait 0
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground
if and
   Actor.Animation($PLAYER_ACTOR) == "FALL_FALL"
   not 1@ > 15.0
jf @DROP_53

:DROP_309
wait 0
0819: 1@ = actor $PLAYER_ACTOR distance_from_ground
if
   not 1@ > 2.5
jf @DROP_309
0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_COLLAPSE" IFP_file "PED" 5.0 loopA 0 lockX 1 lockY 1 lockF 0 time -1 // versionB
jump @DROP_53
hi, i dont know why but after i jumped into a building my hp turn 0 and the hp bar is blinking, then after walking a few meters i died
 
Top