CLEO Help Little help

CLEO related
Status
Not open for further replies.

Felipe Ramos

Active member
Joined
Mar 15, 2014
Messages
33
Reaction score
0
Hey y'all
I'm trying to create a command that when i send /ame (armor me), the plugin REFIL my ammo til 94.0 (max ammo that the anticheat will not notice).
For example, i'm with 30 armor, i type /ame and refil to 94.0 (adding 64.0)
Could you guys explain/show me how to do it?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Felipe Ramos link said:
Hey y'all
the plugin REFIL my ammo til 94.0 (max ammo that the anticheat will not notice).
i'm confused, ammo or armor?

For armor, just set the armor to that specific number.
Code:
{$CLEO}
0000:
REPEAT
WAIT 100
UNTIL 0AFA:
0B34: "ame" @armor

while true
wait 0
end

:armor
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x548
0A8C: writeMem 0@ sz 4 val 94.0 vp 1
0B43:
 
Status
Not open for further replies.
Top