[Snippet] Char sprint

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
680
Likes
2
Points
18
Location
Lithuania
Website
ugbase.eu
#1
Explane.:
[shcode=cpp]
{$CLEO .cs}
0000:

wait 10000

WHILE TRUE
wait 0

if
0ab0: 87 {W Key}
then
    Printf "You now runing" 1337
    0AB1: call @CHAR_SPRINT 1 Sprint_Status true // true - start CHAR run , false -  start CHAR walk normal
end

end
[/shcode]

Snippet.:
[shcode=cpp]
:CHAR_SPRINT 
if
[email protected] == false
then
    [email protected] = 0xB73458
    [email protected] += 0x20
    0A8C: write_memory [email protected] size 1 value 0 virtual_protect 0
else
    [email protected] = 0xB73458
    [email protected] += 0x20
    0A8C: write_memory [email protected] size 1 value 255 virtual_protect 0
end
0AB2: ret 0
[/shcode]
 
Top