if player.Defined(0) then if actor.Driving($3) then 0811: 0@ = actor $3 car 0A97: 0@ = car 0@ struct 0@ += 0xF8 0A8D: 0@ = read_memory 0@ size 2 virtual_protect 0 if 0@ > 0 then // ... end end end
:CCC_5 if player.Defined(0) then if actor.Driving($3) then 0811: 0@ = actor $3 car 0A97: 0@ = car 0@ struct 0@ += 0xF8 0A8D: 0@ = read_memory 0@ size 2 virtual_protect 0 if 0@ > 0 then // ... end end end jump @CCC_4
This post has been edited by EDVINOSKE on Wednesday, Jul 18 2012, 18:45
{$CLEO .cs} 0000: while true wait 0 if player.Defined(0) then if actor.Driving($3) then 0811: 0@ = actor $3 car 02E3: 1@ = car 0@ speed if 1@ > 40.0 then 0A97: 0@ = car 0@ struct 0@ += 0xF8 0A8D: 0@ = read_memory 0@ size 2 virtual_protect 0 if 0@ > 0 then player.SetDrunkVisuals(0, 100) 0332: set_actor $3 bleeding 1 wait 5000 while not player.Defined(0) wait 0 end player.SetDrunkVisuals(0, 0) 0332: set_actor $3 bleeding 0 end end end end end
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)