Anywhich cleo need? example 4.3<?
it doesn't work cus u didn't installed it heheIt doesn't work for some reason, and btw you forgot to add freeway bike, maybe it is because I'm using R3?
It's gta sa andreas static mem adr...It doesn't work for some reason, and btw you forgot to add freeway bike, maybe it is because I'm using R3?
It's gta sa andreas static mem adr...
probably because he didn't add freeway idYeah, I realised that, but why it doesn't work.
Okprobably because he didn't add freeway id
http://i.hidend.space/lv8c40t.png
It doesn't work for some reason, and btw you forgot to add freeway bike, maybe it is because I'm using R3?
What you driving?hmmph both version doesn't work for me. All other cleos are working perfectly. Not sure but I think it's because of the change of memory offset 0xB733B6 in 0.3DL...
a pizza boyWhat you driving?
I just tested with all samp version,.a pizza boy
{$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: key_pressed 87 // W
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
00DD: actor $PLAYER_ACTOR driving_car_with_model 463 // Freeway
then
if
0AB0: key_pressed 87 // W
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
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
I don't know why not worked this key for you, but i added more options now.For me it didn't work properly but then I try to search and then now it works
I used one of your snippets : Set Virtual Key http://ugbase.eu/index.php?threads/snippet-set-virtual-or-game-key.19933/ and now it works perfectly!
respect 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 converationFor me it didn't work properly but then I try to search and then now it works
I used one of your snippets : Set Virtual Key http://ugbase.eu/index.php?threads/snippet-set-virtual-or-game-key.19933/ and now it works perfectly!
Here's code and .cs file for anyone having same problem like me!
Code:{$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: key_pressed 87 // W 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 00DD: actor $PLAYER_ACTOR driving_car_with_model 463 // Freeway then if 0AB0: key_pressed 87 // W 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 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