Pie015 Posted October 2, 2010 Share Posted October 2, 2010 I've finished my special vehicle functions mod but 00E1 puts its big butt onto my script. My Problem: I used 00E1: player 0 key_pressed but when I pressed F12 and went to GTA SA keypress numbers for 00E1 it said that some of the key numbers were the same like: 1 is up and down but I only want up, not down. Is there any way to fix this problem? Link to comment https://gtaforums.com/topic/460323-00e1-problem/ Share on other sites More sharing options...
TheSiggi Posted October 2, 2010 Share Posted October 2, 2010 (edited) Yeah, I had that problem aswell and you should try 0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y Edited October 2, 2010 by The_Siggi Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060148512 Share on other sites More sharing options...
Anurag_Anmol Posted October 3, 2010 Share Posted October 3, 2010 ooooor you can use 0AB0 liek if or0AB0: key_pressed 87 // W or w0AB0: key_pressed 38 // up arrow keyjf @SomeThread Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060149094 Share on other sites More sharing options...
TheSiggi Posted October 3, 2010 Share Posted October 3, 2010 ooooor you can use 0AB0 liek if or0AB0: key_pressed 87 // W or w0AB0: key_pressed 38 // up arrow keyjf @SomeThread but its a bit messy when other people use customized controls so the script would have other keys as usual also, please: jf @someLabel Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060149111 Share on other sites More sharing options...
Pie015 Posted October 3, 2010 Author Share Posted October 3, 2010 I'm not sure how to use 0494:, do i put it at the start of the script oh and how do I use it with 00E1 Sorry but I still suck a apple at coding Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060149446 Share on other sites More sharing options...
Pie015 Posted October 3, 2010 Author Share Posted October 3, 2010 Please reply quickly! Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060149768 Share on other sites More sharing options...
james227uk Posted October 4, 2010 Share Posted October 4, 2010 You should wait 24 hours before double posting, even more so for bumping a topic Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060150264 Share on other sites More sharing options...
Anurag_Anmol Posted October 4, 2010 Share Posted October 4, 2010 Just use 0AB0. Majority of players use W and/or up arrow key. Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060150306 Share on other sites More sharing options...
Pie015 Posted October 6, 2010 Author Share Posted October 6, 2010 @Anurag I want to use 00E1 to make it look neat, I'd rather go the hard way Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060153370 Share on other sites More sharing options...
Anurag_Anmol Posted October 6, 2010 Share Posted October 6, 2010 Well then, What do you need the condition for? Seeing if player's vehicle goes forward? Or if player goes forward? Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060153391 Share on other sites More sharing options...
TheSiggi Posted October 7, 2010 Share Posted October 7, 2010 Well then, What do you need the condition for? Seeing if player's vehicle goes forward? Or if player goes forward? its the same key, just the result 00DF: is true when drivng Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060153864 Share on other sites More sharing options...
Zyo Posted October 8, 2010 Share Posted October 8, 2010 Maybe use 0AB0: key_pressed 38 (for arrow up?) edit: oops sorry. A_A and Siggi already posted the same idea. Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060154776 Share on other sites More sharing options...
Deji Posted October 8, 2010 Share Posted October 8, 2010 I know that this forum is 96% filled with awful questions, but the fact that this topic is filled with 100% 96% (didn't notice the 2nd post then) awful and lazy answers makes me feel stuck between continuing to visit this forum or continuing to talk to the guy I have on MSN who's sending me 2-word messages to slowly describe every single problem in his mod and ask how it should be fixed... hmm decisions. In this topic we have managed to go down some great paths. We've found out that james227uk is actually the main admin undercover and that he makes the rules as to how other people should post. We've had the answer given on the very 1st reply, but then the question regarding the answer was completely ignored and lost in the midst of constant replies repeating the same, incorrect answer and 6 days have passed in this time... If I had an unlimited supply of coffee I could learn C++ in 6 days. And finally, we've had a mentally unbalanced person talk about the amount of unneccessary stuff that is in this topic, mostly caused by the fact it is past 5AM and he's listening to rap music and posting questions just as nooby as the questions in this forum in a web design forum. Next year he'll still be posting nooby questions, but probably in an advanced programming forum about developing 3D game engines "how duz i can cree8 fisix 4 da ragdol playa??!!?!!??!!?!!?... ?". Granted, this is a common question, but it's also a fair one with a simple answer. 0494 documentation (guide to the returned values) 0494: get_joystick 0 data_to 0@ 1@ 2@ 3@if 0019: 1@ > 100then // player is pressing the "Move Forward" keyend You may bow or throw something at me, it's your choice cause I'm confident you will choose to bow - please don't throw something at me.. I didn't mean it! Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060154813 Share on other sites More sharing options...
Pie015 Posted October 8, 2010 Author Share Posted October 8, 2010 Thanks Deji but how do we use that in a simpler way like: jf version??? Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060155273 Share on other sites More sharing options...
Deji Posted October 8, 2010 Share Posted October 8, 2010 Just use it the way you'd use a condition: 0494: get_joystick 0 data_to 0@ 1@ 2@ 3@0019: 1@ > 100jf :thread// pressing key:thread Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060155298 Share on other sites More sharing options...
Pie015 Posted October 11, 2010 Author Share Posted October 11, 2010 (edited) I think your gonna call me a troll, but how would i add it into this script: I want to use special control up/down and special ctrl left/right But it says $SPECIAL_AXIS_X and $SPECIAL_AXIS_Y how do I know which one is special ctrl up or special ctrl down? Edited October 12, 2010 by Pie015 Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060158833 Share on other sites More sharing options...
ZAZ Posted October 12, 2010 Share Posted October 12, 2010 I think your gonna call me a troll, but how would i add it into this script: I want to use special control up/down and special ctrl left/right But it says $SPECIAL_AXIS_X and $SPECIAL_AXIS_Y how do I know which one is special ctrl up or special ctrl down? make the output visible for your eyes Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060159361 Share on other sites More sharing options...
james227uk Posted October 12, 2010 Share Posted October 12, 2010 (edited) We've found out that james227uk is actually the main admin undercover and that he makes the rules as to how other people should post No I don't make the f*cking rules. It's just you who has failed to read this forums rules. I did not make them. Maybe you should go and take a read right now. (Ironic right now, but this needs saying) So quit bitching, and quit starting arguments with everyone else. Seriously, calling someone "mentally unbalanced" and having a go at most of the people in this section for asking noobish questions? I expected better of you If I did have the opportunity to throw something at you then I'd happily accept it Now if you wish to continue this, bring it to PM. Offtopic conversations are also against the rules Edited October 12, 2010 by james227uk Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060159449 Share on other sites More sharing options...
TheSiggi Posted October 12, 2010 Share Posted October 12, 2010 Stick by James here.... If I had an unlimited supply of coffee I could learn C++ in 6 days I doubt that I doubt anyone could Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060159455 Share on other sites More sharing options...
Deji Posted October 12, 2010 Share Posted October 12, 2010 Ooh.. that was a bit sour there. I called myself mentally unbalanced, so I sense I little paranoia. I would have sent a PM (possibly with prescription attached), but my post was more of an all-around ironic rant. You may have been confused because I failed to use the appropriate [rant=5AM] tags, I'm sorry. I live in my own internet "WWW For The Criminally Insane" and feel the need to come over and play the drunken uncle who ruins the party. @The_Siggi 6 * 24 hours seems like a long enough study time... maybe I'd have to spread it out over a few days so the information sticks @topic $MOVE_AXIS_X - Movement left/right (hence "axis x") $MOVE_AXIS_Y - Movement up/down (hence "axis y") $SPECIAL_AXIS_X - Special Ctrl left/right (probably little use to you) $SPECIAL_AXIS_Y - Special Ctrl up/down (probably little use to you) Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060159497 Share on other sites More sharing options...
TheSiggi Posted October 12, 2010 Share Posted October 12, 2010 C++ is a nearly neverending story the book which I used has ~600 sides and it only teaches the basics . Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060159506 Share on other sites More sharing options...
Pie015 Posted October 13, 2010 Author Share Posted October 13, 2010 Ok, I think I have the right idea but still not working, I press 3 (my number for special ctrl left and stuff but they do it at the same time! :NONAME_398Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y 0019: $SPECIAL_AXIS_Y > -128jf @NONAME_464:NONAME_464wait 0 if and Player.Defined($PLAYER_CHAR)00E1: player 0 pressed_key 3 Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_467 03C0: 0@ = actor $PLAYER_ACTOR car 07D5: set_car 0@ velocity_in_direction_XYZ 0.0 0.0 1.0 rotation_velocitiesXY 0.0 0.0 unk 0.0 // The other piece with uses 00E1: player 0 pressed_key 3:NONAME_467Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y 0019: $SPECIAL_AXIS_Y > 128jf @NONAME_536:NONAME_536wait 0 if and847A: not actor $PLAYER_ACTOR driving_bike Player.Defined($PLAYER_CHAR)00E1: player 0 pressed_key 3 Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_53703C0: 0@ = actor $PLAYER_ACTOR car 00BA: show_text_styled GXT 'NOSY' time 3000 style 4 09E9: car 0@ add_single_nitro 06E9: load_car_component #NTO_B_Sif 06EA: car_component #NTO_B_S available else_jump @NONAME_536 06E7: 1@ = add_car_component #NTO_B_S to_car 0@ 06EB: release_car_component #NTO_B_S Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060160233 Share on other sites More sharing options...
Pie015 Posted October 13, 2010 Author Share Posted October 13, 2010 Please reply, @James I replyed in 24 hrs Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060160971 Share on other sites More sharing options...
BnB Posted October 14, 2010 Share Posted October 14, 2010 :NONAME_398Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y 0019: $SPECIAL_AXIS_Y > -128jf @NONAME_464:NONAME_464[...]:NONAME_467Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y0019: $SPECIAL_AXIS_Y > 128jf @NONAME_536:NONAME_536 Those checks do NOTHING!! Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060161494 Share on other sites More sharing options...
Pie015 Posted October 14, 2010 Author Share Posted October 14, 2010 :NONAME_398Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y 0019: $SPECIAL_AXIS_Y > -128jf @NONAME_464:NONAME_464[...]:NONAME_467Player.Defined($PLAYER_CHAR)0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y0019: $SPECIAL_AXIS_Y > 128jf @NONAME_536:NONAME_536 Those checks do NOTHING!! How do I do it then!? Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060161673 Share on other sites More sharing options...
TheSiggi Posted October 14, 2010 Share Posted October 14, 2010 0494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y Is not a condition. the whole code seems to be a bit messy Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060161688 Share on other sites More sharing options...
Pie015 Posted October 14, 2010 Author Share Posted October 14, 2010 So can you tell me how to do it then? Should I take of the jf's? Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060161782 Share on other sites More sharing options...
BnB Posted October 14, 2010 Share Posted October 14, 2010 {BnB}:NONAME_3980494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Ywait 0if 0Player.Defined($PLAYER_CHAR)0019: $SPECIAL_AXIS_Y > -128jf @NONAME_398:NONAME_464wait 0if andPlayer.Defined($PLAYER_CHAR)00E1: player 0 pressed_key 3 Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_46403C0: 0@ = actor $PLAYER_ACTOR car07D5: set_car 0@ velocity_in_direction_XYZ 0.0 0.0 1.0 rotation_velocitiesXY 0.0 0.0 unk 0.0:NONAME_4670494: get_joystick 0 data_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Ywait 0if 0Player.Defined($PLAYER_CHAR)0019: $SPECIAL_AXIS_Y > 128jf @NONAME_467{I dont know wtf you re doing here i did not change it}:NONAME_536wait 0if and847A: not actor $PLAYER_ACTOR driving_bike Player.Defined($PLAYER_CHAR)00E1: player 0 pressed_key 3 Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_53703C0: 0@ = actor $PLAYER_ACTOR car00BA: show_text_styled GXT 'NOSY' time 3000 style 409E9: car 0@ add_single_nitro06E9: load_car_component #NTO_B_Sif06EA: car_component #NTO_B_S availableelse_jump @NONAME_53606E7: 1@ = add_car_component #NTO_B_S to_car 0@06EB: release_car_component #NTO_B_S Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060161988 Share on other sites More sharing options...
Pie015 Posted October 14, 2010 Author Share Posted October 14, 2010 Thanks BnB, Awesome! +100000 to you LOL, at the part where it says; wtf are you doing here: It adds nitro to the car and a nitro bottle Link to comment https://gtaforums.com/topic/460323-00e1-problem/#findComment-1060162149 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