tieuthienthan
Active member
You're welcome I'm happy that I can help yourespect man, his code didnt work for me neither, it was just holding uparrow but ur code is working good, thanks a lot even though its really old converation
You're welcome I'm happy that I can help yourespect man, his code didnt work for me neither, it was just holding uparrow but ur code is working good, thanks a lot even though its really old converation
{$CLEO .cs}
0000: NOP
wait 10000
while true
wait 0
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 581 // BF-400
00DD: actor $PLAYER_ACTOR driving_car_with_model 462 // Faggio
00DD: actor $PLAYER_ACTOR driving_car_with_model 521 // FCR-900
00DD: actor $PLAYER_ACTOR driving_car_with_model 522 // NRG-500
00DD: actor $PLAYER_ACTOR driving_car_with_model 461 // PCJ-600
00DD: actor $PLAYER_ACTOR driving_car_with_model 448 // Pizza Boy
00DD: actor $PLAYER_ACTOR driving_car_with_model 468 // Sanchez
00DD: actor $PLAYER_ACTOR driving_car_with_model 586 // Wayfarer
then
if
0AB0: 90 // Z
then
if
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x107 state 255
wait 30
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x107 state 0
wait 30
end
end
end
end
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 463 // Freeway
00DD: actor $PLAYER_ACTOR driving_car_with_model 523 // HPV1000
then
if
0AB0: 90 // Z
then
if
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x107 state 255
wait 30
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x107 state 0
wait 30
end
end
end
end
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 509 // Bike
00DD: actor $PLAYER_ACTOR driving_car_with_model 481 // BMX
00DD: actor $PLAYER_ACTOR driving_car_with_model 510 // Mountain Bike
then
if
0AB0: 90 // Z
then
if
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
wait 30
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 0
wait 30
end
end
end
end
end
:Set_Virtual_Key
{
255 = true
0 = false
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
}
2@ = 0xB72CC8
0@ *= 2
005A: 2@ += 0@ // (int)
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0
Nope, sanny builder error.You can put all in one lol
can someone add activation key to this mod only
key: "page up"
BikeSpeedUP - Press continuously W KEY when you start drive Bike.
{$CLEO .cs}
0000:
WHILE TRUE
WAIT 0
IF 0AB0: key_pressed 90 // Z
THEN
IF 0256: player $PLAYER_CHAR defined
THEN
IF 0AB1: @IsActorInDriverSeat 0
THEN
IF OR
00DD: actor $PLAYER_ACTOR driving_car_with_model 581 {BF-400}
00DD: actor $PLAYER_ACTOR driving_car_with_model 462 {Faggio}
00DD: actor $PLAYER_ACTOR driving_car_with_model 521 {FCR-900}
00DD: actor $PLAYER_ACTOR driving_car_with_model 522 {NRG-500}
00DD: actor $PLAYER_ACTOR driving_car_with_model 461 {PCJ-600}
00DD: actor $PLAYER_ACTOR driving_car_with_model 448 {Pizza Boy}
00DD: actor $PLAYER_ACTOR driving_car_with_model 468 {Sanchez}
00DD: actor $PLAYER_ACTOR driving_car_with_model 586 {Wayfarer}
THEN 0AB1: @ForcePressGameKeyOffset 1 _KeyOffset 3
ELSE
IF OR
00DD: actor $PLAYER_ACTOR driving_car_with_model 463 {Freeway}
00DD: actor $PLAYER_ACTOR driving_car_with_model 523 {HPV1000}
THEN 0AB1: @ForcePressGameKeyOffset 1 _KeyOffset 3
ELSE
IF OR
00DD: actor $PLAYER_ACTOR driving_car_with_model 509 {Bike}
00DD: actor $PLAYER_ACTOR driving_car_with_model 481 {BMX}
00DD: actor $PLAYER_ACTOR driving_car_with_model 510 {Mountain Bike}
THEN 0AB1: @ForcePressGameKeyOffset 1 _KeyOffset 32
END
END
END
END
END
WAIT 30
END
END
0A93: terminate_this_custom_script
Can anyone add a toggle button to cleo. Like: Press the on button, cleo will work as usual, press it again, cleo will turn off (as if it has not been installed). Exactly like that, we don't really like the version of holding down the button to activate the cleo.
{$CLEO .cs}
0000: NOP
wait 8500
30@ = false
while true
wait 0
if and //Xóa "AND" di
0AB0: 189 // Dấu - bên bàn phím chữ
8B21: not samp is_chat_opened //Xoa dong nay di neu ko co SAMPFUNCS
Actor.Driving($PLAYER_ACTOR)
then
if
30@ == false
then
30@ = true
0AD1: "~Y~on" 1337
wait 500
else
30@ = false
0AD1: "~B~off" 1337
wait 500
end
end
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 581 // BF-400
00DD: actor $PLAYER_ACTOR driving_car_with_model 462 // Faggio
00DD: actor $PLAYER_ACTOR driving_car_with_model 521 // FCR-900
00DD: actor $PLAYER_ACTOR driving_car_with_model 522 // NRG-500
00DD: actor $PLAYER_ACTOR driving_car_with_model 461 // PCJ-600
00DD: actor $PLAYER_ACTOR driving_car_with_model 468 // Sanchez
00DD: actor $PLAYER_ACTOR driving_car_with_model 586 // Wayfarer
then
if
0AB0: 87 // W
then
if and
30@ == true
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
end
end
end
end
// 00DD: actor $PLAYER_ACTOR driving_car_with_model 448 // Pizza Boy
if
00DD: actor $PLAYER_ACTOR driving_car_with_model 448 // Pizza Boy
then
if
0AB0: 87 // W
then
if and
30@ == true
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
//wait 10
//0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
// wait 10
//0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect
end
end
end
end
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 463 // Freeway
00DD: actor $PLAYER_ACTOR driving_car_with_model 523 // HPV1000
then
if
0AB0: 87 // W
then
if and
30@ == true
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72ED6 size 1 value 0 virtual_protect 0
end
end
end
end
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 509 // Bike
00DD: actor $PLAYER_ACTOR driving_car_with_model 481 // BMX
00DD: actor $PLAYER_ACTOR driving_car_with_model 510 // Mountain Bike
then
if
0AB0: 87 // W
then
if and
30@ == true
00DF: actor $PLAYER_ACTOR driving
then
03C0: 1@ = $PLAYER_ACTOR car
if and
00DF: actor $PLAYER_ACTOR driving
81F3: car 1@ not_in_air
THEN
0A8C: write_memory 0xB72D76 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72D76 size 1 value 0 virtual_protect 0
wait 10
0A8C: write_memory 0xB72D76 size 1 value 255 virtual_protect 0
wait 10
0A8C: write_memory 0xB72D76 size 1 value 0 virtual_protect 0
end
end
end
end
end
:Set_Virtual_Key
{
255 = true
0 = false
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
}
2@ = 0xB72CC8
0@ *= 2
005A: 2@ += 0@ // (int)
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0