Zin
Expert
- Joined
- Aug 1, 2013
- Messages
- 1,734
- Solutions
- 2
- Reaction score
- 117
so I'm making this sensitivity CLEO and in order to prevent crashes I have to check if it's on or not but I can't compile as it says "0@ == 1@" variable has unkown type" I don't understand what's wrong as I'm just checking the values if they're equal to the activated values.
Code:
{$CLEO .cs}
thread 'driveby'
5@ = 0.003000
:drive
0A8D: 0@ = read_memory 0xB6EC1C size 4 virtual_protect 0
if and
actor.Driving($PLAYER_ACTOR)
key_down 2
then
0A8D: 1@ = read_memory 0xB6EC1C size 4 virtual_protect 0
if
1@ == 0@
then
0A8C: write_memory 0xB6EC1C size 4 value 5@ virtual_protect 0
else
jump @drive
end
else
0A8D: 1@ = read_memory 0xB6EC1C size 4 virtual_protect 0
if
1@ == 5@
then
0A8C: write_memory 0xB6EC1C size 4 value 0@ virtual_protect 0
else
jump @drive
end
end