ThePlague1988 Posted November 16, 2010 Share Posted November 16, 2010 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 More sharing options...
BnB Posted November 16, 2010 Share Posted November 16, 2010 0A32 what the f*ck is this just use actor.Driving($PLAYER_ACTOR) Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206604 Share on other sites More sharing options...
EUX adamant4 Posted November 16, 2010 Share Posted November 16, 2010 try swapping OA32 with 00DF: actor $PLAYER_ACTOR driving I think the 0x in front of the 76 is the main problem though, if you get rid of that then it should work if everything else is correct Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206606 Share on other sites More sharing options...
BnB Posted November 16, 2010 Share Posted November 16, 2010 0x Denotes a Hexadecimal number ex: FF In sanny builder you have the ability to convert a Decimal number into Hexadecimal by putting cursor in the beginning of the number and press Ctrl + H Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206614 Share on other sites More sharing options...
ThePlague1988 Posted November 16, 2010 Author Share Posted November 16, 2010 The 0A32 opcode wasn't what was wrong with it... It's something else. Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206618 Share on other sites More sharing options...
BnB Posted November 16, 2010 Share Posted November 16, 2010 Opcode 0A32 is an unknown opcode and we don't know what exactly it does ! Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206621 Share on other sites More sharing options...
EUX adamant4 Posted November 16, 2010 Share Posted November 16, 2010 yes, i know- but hex is probably not what the OP would want, as instead of the "L" key, he would end up with F7 xD I didn't know about that ctrl-h thing btw lol Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206624 Share on other sites More sharing options...
Deji Posted November 17, 2010 Share Posted November 17, 2010 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 Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060206856 Share on other sites More sharing options...
Bennington Posted November 17, 2010 Share Posted November 17, 2010 0A32: actor 2@ on_turret_of_car Lol? Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060207925 Share on other sites More sharing options...
Deji Posted November 17, 2010 Share Posted November 17, 2010 It's a condition. Returns true if the actor is turreted on a vehicle. Used in the Hotdog script, where the hotdog guy is standing inside the van, which can't be done any other way than via turret. Link to comment https://gtaforums.com/topic/463235-cant-get-to-work/#findComment-1060207969 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now