Yuki8585 Posted June 22, 2013 Share Posted June 22, 2013 So i have this GTA SA mod its a cleo .cs and also in .fxt and i was wandering if i could change the hotkey to one key of the hotkey to open it is two keys like this 0AB0: key_pressed 17 0AB0: key_pressed 67 is it possible to just delete one line and set a hotkey or do i have to set it as two hotkeys and how would i do this? Link to comment Share on other sites More sharing options...
brutalis11 Posted July 1, 2013 Share Posted July 1, 2013 (edited) Yeah, it's possible. I assume it looks something like this in your script: if and0AB0: key_pressed 17 0AB0: key_pressed 67else_jump @SOMETHING// stuff If so, all you have to do is simply changing "if and" to "if" & remove one of the lines, like this: if0AB0: key_pressed 17else_jump @SOMETHING// stuff You can find a list of key codes for the 0AB0 opcode in Sanny Builder > Help > Contents > CLEO 3 Code Library > Virtual key codes (for 0AB0) If you prefer having your keys like e.g. "if ENTER VEHICLE button is pressed, then..." instead of "if K on keyboard is pressed, then...", you'll have to use the 00E1 opcode instead. 00E1: player 0 pressed_key 19 However, the SA key IDs of this opcode are not listed within SannyBuilder's help file, so you'll have to look here (click me) instead. Edited July 1, 2013 by brutalis11 Link to comment 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