CLEO Help How to set max hp

CLEO related
Status
Not open for further replies.

MDA

Active member
Joined
Jun 15, 2016
Messages
32
Reaction score
0
Code:
{$CLEO}
0000:

repeat
wait 0
until SAMP.Available()
0B34: samp register_client_command "seth" to_label @HEALTH

while true
wait 0
end

:HEALTH
SAMP.IsCommandTyped(0@)
    if
        0AD4: $NOT_USED = 0@ format "%d" 0@
    then
        Actor.Health($PLAYER_ACTOR) = 0@
    end
cmdret
When i type /seth 101 or higher, it always set hp to 100
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,125
Reaction score
151
you could try one of these two along with the one you're using
08AF: set_actor $ACTOR_RYDER max_health_to 500
055E: set_player $PLAYER_CHAR max_health += 100
 
Status
Not open for further replies.
Top