Is there any .cs of Auto Spamming UP BUTTON for Motorcycles?

Status
Not open for further replies.

Parazitas

God
Joined
Jan 2, 2017
Messages
3,103
Solutions
5
Reaction score
882
Location
Lithuania
Doubt it, they don't use any samp related functions, these should work even in singleplayer.

Code for bikes..
PHP:
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: 38 // UP ARROW
    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
                wait 30
                0A8C: write_memory 0xB73478 size 1 value 255 virtual_protect 0
            end
        end
    end
end
 
Last edited:

Zin

Expert
Joined
Aug 1, 2013
Messages
1,690
Reaction score
104
how to compile this sir? any eazy tut for newb? thanks.
That's only the same code that "didn't work" but slightly modified for sprinting on a pushbike, and same again nothing in the samp version is going to change that. Maybe if you just read the entire thread & replies you'd find what you're looking for.
 
Status
Not open for further replies.
Top