RichieWeed420 Posted January 19, 2022 Share Posted January 19, 2022 I'm trying to change the opcode to 00E1: key_pressed 0 <12> but Everytime I use SCM Key Changer it gives me a error saying "No Key Code Found" here is the mod file to download that is giving me problems please help I don't understand opcoding https://fileservice.gtainside.com/downloads/ftpl/1596565434_Smoking.rar Also I'm using Sanny Builder 3 to enter the opcode. Link to comment Share on other sites More sharing options...
ZAZ Posted January 19, 2022 Share Posted January 19, 2022 (edited) this keypress code 00E1: key_pressed 0 <12> we call it opcode 00E1: (4 digits infront gives the opcode) opcode 00E1: was made by Rockstar to check keypress you know that you can make your desired keypress setting in menue option > controler setup so, the numbers which are given together with opcode 00E1: are allocated to functions like fire, sprint, jump etc. Look in Sannybuilder HELP > Offline Help > SCM Documentation > GTA SA > Keypress numbers to see which number is for which function And attention, you'll see that 12 doesn't exist that means, this 00E1: key_pressed 0 12 is invalid opcode 0AB0: was made for Cleo the given number refers to virtual keycode Spoiler 1 left mouse button 2 right mouse button 3 control-break processing 4 middle mouse button 8 backspace key 9 tab key 12 clear key 13 enter key 16 shift key 17 ctrl key 18 alt key 19 pause key 20 caps lock key 27 esc key 32 spacebar 33 page up key 34 page down key 35 end key 36 home key 37 left arrow key 38 up arrow key 39 right arrow key 40 down arrow key 41 select key 42 print key 43 execute key 44 print screen key 45 ins key 46 del key 47 help key 48 0 key 49 1 key 50 2 key 51 3 key 52 4 key 53 5 key 54 6 key 55 7 key 56 8 key 57 9 key 65 a key 66 b key 67 c key 68 d key 69 e key 70 f key 71 g key 72 h key 73 i key 74 j key 75 k key 76 l key 77 m key 78 n key 79 o key 80 p key 81 q key 82 r key 83 s key 84 t key 85 u key 86 v key 87 w key 88 x key 89 y key 90 z key 96 numeric keypad 0 key 97 numeric keypad 1 key 98 numeric keypad 2 key 99 numeric keypad 3 key 100 numeric keypad 4 key 101 numeric keypad 5 key 102 numeric keypad 6 key 103 numeric keypad 7 key 104 numeric keypad 8 key 105 numeric keypad 9 key 106 multiply key 107 add key 108 separator key 109 subtract key 110 decimal key 111 divide key 112 f1 key 113 f2 key 114 f3 key 115 f4 key 116 f5 key 117 f6 key 118 f7 key 119 f8 key 120 f9 key 121 f10 key 122 f11 key 123 f12 key 144 num lock key 145 scroll lock key 160 left shift key 161 right shift key 162 left control key 163 right control key so the keypress check of the smoking script 0AB0: is_key_pressed 122 checks if F11 is pressed If you wanna change the check so that it needs to press P then keep opcode 0AB0: and insert 80 0AB0: is_key_pressed 80 If you wanna change the check so that it needs to press YES key then change to opcode 00E1: and insert 11 00E1: key_pressed 0 11 Edited January 19, 2022 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
RichieWeed420 Posted January 19, 2022 Author Share Posted January 19, 2022 ZAZ how do you change the game key to share button on the controller for the smoking mod??? Link to comment Share on other sites More sharing options...
ZAZ Posted January 19, 2022 Share Posted January 19, 2022 I gave enough information please use your brain now DumbButCreative 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
DumbButCreative Posted January 23, 2022 Share Posted January 23, 2022 On 1/19/2022 at 8:40 PM, RichieWeed420 said: ZAZ how do you change the game key to share button on the controller for the smoking mod??? isnt it jus easier to have keyboard plugged in aswell as control, so that u can use the smoke keys when needed? thats what i do, theres so many cleo scipt keys that its better to have them on keyboard than a control with limited buttons Link to comment Share on other sites More sharing options...