Hi, I did once the way to go and I changed the PC and I don't have it anymore, and now I get an error, you can do it please.
You have these here, I can no longer properly put them.
http://ugbase.eu/index.php?threads/fast-reload.20310/#post-117997
Error with me:
{$CLEO}
0000:
repeat
wait 0
until 0AFA:
const
CPED = 0xB6F5F0
TYPE_1 = 0x5FC {SHOTGUNS}
TYPE_2 = 0x618 {MP5/UZI/TEC9 etc}
TYPE_3 = 0x5E0 {PISTOLS}
TYPE_4 = 0x634 {M4/AK47 etc}
end
while true
wait 0
if and
0AB0: key_pressed 1
8AB0: key_pressed 0
then
0470: 0@ = actor $PLAYER_ACTOR current_weapon
{TYPE_1}
if or
0@ == 26
0@ == 27
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_1
if
0@ == 26
then
0A8C: write_memory 1@ size 4 value 4 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 7 virtual_protect 0
wait 100 ms
end
end
{TYPE_2}
if or
0@ == 28
0@ == 29
0@ == 32
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_2
if
0@ == 28
then
0A8C: write_memory 1@ size 4 value 100 virtual_protect 0
wait 100 ms
else
if
0@ == 29
then
0A8C: write_memory 1@ size 4 value 30 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 100 virtual_protect 0
wait 100 ms
end
end
end
{TYPE_3}
if or
0@ == 22
0@ == 23
0@ == 24
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_3
if
0@ == 22
then
0A8C: write_memory 1@ size 4 value 34 virtual_protect 0
wait 100 ms
else
if
0@ == 23
then
0A8C: write_memory 1@ size 4 value 17 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 7 virtual_protect 0
wait 100 ms
end
end
end
{TYPE_4}
if or
0@ == 30
0@ == 31
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_4
if
0@ == 30
then
0A8C: write_memory 1@ size 4 value 30 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 50 virtual_protect 0
wait 100 ms
end
end
end
end
0000:
repeat
wait 0
until 0AFA:
const
CPED = 0xB6F5F0
TYPE_1 = 0x5FC {SHOTGUNS}
TYPE_2 = 0x618 {MP5/UZI/TEC9 etc}
TYPE_3 = 0x5E0 {PISTOLS}
TYPE_4 = 0x634 {M4/AK47 etc}
end
while true
wait 0
if and
0AB0: key_pressed 1
8AB0: key_pressed 0
then
0470: 0@ = actor $PLAYER_ACTOR current_weapon
{TYPE_1}
if or
0@ == 26
0@ == 27
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_1
if
0@ == 26
then
0A8C: write_memory 1@ size 4 value 4 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 7 virtual_protect 0
wait 100 ms
end
end
{TYPE_2}
if or
0@ == 28
0@ == 29
0@ == 32
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_2
if
0@ == 28
then
0A8C: write_memory 1@ size 4 value 100 virtual_protect 0
wait 100 ms
else
if
0@ == 29
then
0A8C: write_memory 1@ size 4 value 30 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 100 virtual_protect 0
wait 100 ms
end
end
end
{TYPE_3}
if or
0@ == 22
0@ == 23
0@ == 24
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_3
if
0@ == 22
then
0A8C: write_memory 1@ size 4 value 34 virtual_protect 0
wait 100 ms
else
if
0@ == 23
then
0A8C: write_memory 1@ size 4 value 17 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 7 virtual_protect 0
wait 100 ms
end
end
end
{TYPE_4}
if or
0@ == 30
0@ == 31
then
0A8D: 1@ = read_memory CPED size 4 virtual_protect 0
1@ += TYPE_4
if
0@ == 30
then
0A8C: write_memory 1@ size 4 value 30 virtual_protect 0
wait 100 ms
else
0A8C: write_memory 1@ size 4 value 50 virtual_protect 0
wait 100 ms
end
end
end
end
http://ugbase.eu/index.php?threads/fast-reload.20310/#post-117997
Error with me: