Jump to content

Can't get to work?


ThePlague1988

Recommended Posts

ThePlague1988

I'm in desperate need of your guys' help. I can't get this to turn the engine off I've tried 0, 1, and 2...

Please help.

 

 

{$CLEO}:EngineOff_1thread 'ENGINE':EngineOff_2wait 0ifPlayer.Defined($PLAYER_CHAR)jf @EngineOff_2if and0AB0: key_pressed 0x760A32: unknown_actor $PLAYER_ACTOR in_carjf @EngineOff_203C0: 1@ = actor $PLAYER_ACTOR car081D: set_car 1@ engine_operation 2jump @EngineOff_2

 

Link to comment
https://gtaforums.com/topic/463235-cant-get-to-work/
Share on other sites

0A32 was discovered a while ago and updated in the Opcode Database, but I'd believe has no proper use here...

 

 

{$CLEO}:EngineOff_1thread 'ENGINE':EngineOff_2wait 0Player.Defined(0)  // 0 is always the same as typing $PLAYER_CHARjf @EngineOff_2if and0AB0: key_pressed 0x760449:   actor $PLAYER_ACTOR in_a_carjf @EngineOff_20811: 1@ = actor $PLAYER_ACTOR car  // is better than 03C0 for temporary cars!081D: set_car 1@ engine_operation 2jump @EngineOff_2

 

 

Maybe it was a slip of the mind thing, but I feel I should open up this knowledge.. Why use if the first time if you were excluding it the second time? if is only needed on multiple checks. Unfortunately Sanny never reached the stage of removing these for high constructs, but if you insist on low constructing, optimization is the biggest gain.

 

All information already in the DB... I like to help, but I've already set up a big resource in order to do it without repeating myself smile.gif

Link to comment
https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206856
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.