Skip to Content

Instructional Buttons

Instructional buttons are the on-screen button prompts shown to players (e.g., “Press E to Enter”). They use the instructional_buttons scaleform and map to control IDs.

Quick Usage

-- Show instructional buttons using scaleform local scaleform = RequestScaleformMovie("instructional_buttons") while not HasScaleformMovieLoaded(scaleform) do Wait(0) end BeginScaleformMovieMethod(scaleform, "CLEAR_ALL") EndScaleformMovieMethod() BeginScaleformMovieMethod(scaleform, "SET_DATA_SLOT") ScaleformMovieMethodAddParamInt(0) -- Slot index ScaleformMovieMethodAddParamPlayerNameString("~INPUT_CONTEXT~") -- Button BeginTextCommandScaleformString("STRING") AddTextComponentSubstringPlayerName("Interact") EndTextCommandScaleformString() EndScaleformMovieMethod() BeginScaleformMovieMethod(scaleform, "DRAW_INSTRUCTIONAL_BUTTONS") EndScaleformMovieMethod() DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)

All Instructional Buttons

49 entries
Button NameDescriptionControl ID
t_QQ key44
t_EE key46
t_RR key45
t_FF key23
t_GG key47
t_HH key74
t_XX key73
t_ZZ key20
t_CC key26
t_VV key0
t_NN key249
t_MM key244
t_TT key245
t_YY key246
t_TABTab key37
t_LSHIFTLeft Shift21
t_LCTRLLeft Ctrl36
t_SPACESpace22
t_ENTEREnter18
t_BACKSPACEBackspace177
t_DELETEDelete key214
t_ESCEscape key200
t_TILDETilde key243
t_MOUSE_LEFTLeft Mouse Button24
t_MOUSE_RIGHTRight Mouse Button25
t_SCROLL_UPScroll Wheel Up14
t_SCROLL_DOWNScroll Wheel Down15
t_ARROW_UPUp Arrow27
t_ARROW_DOWNDown Arrow173
t_ARROW_LEFTLeft Arrow174
t_ARROW_RIGHTRight Arrow175
t_F1F1 key288
t_F2F2 key289
t_F3F3 key170
t_F5F5 key166
t_F6F6 key167
t_F7F7 key168
t_F8F8 key169
t_F9F9 key56
t_F10F10 key57
t_1Number 1157
t_2Number 2158
t_3Number 3160
t_4Number 4164
t_5Number 5165
t_6Number 6159
t_7Number 7161
t_8Number 8162
t_9Number 9163