Skip to Content
ReferenceCheatsheets
Report an error
Open in ChatGPTOpen in Claude

Game References & Cheatsheets

This page serves as a quick lookup for common Game IDs used in native functions.

Controls (Input)

Used with IsControlJustPressed(0, ControlID) or DisableControlAction(0, ControlID).

IDNameKeyboard DefaultAction
0INPUT_NEXT_CAMERAVCycle Camera
22INPUT_JUMPSpaceJump
23INPUT_ENTERFEnter Vehicle
24INPUT_ATTACKLeft MouseAttack / Shoot
30INPUT_MOVE_LRA / DMove Left/Right
31INPUT_MOVE_UDW / SMove Up/Down
38INPUT_PICKUPEInteraction Key (Common)
44INPUT_COVERQTake Cover
73INPUT_VEH_DUCKXDuck / Hydraulics
75INPUT_VEH_EXITFExit Vehicle
245INPUT_MP_TEXT_CHAT_ALLTChat

Full List: FiveM Docs - Controls 

Blips (Map Icons)

Use AddBlipForCoord(x, y, z) with SetBlipSprite(blip, spriteId). Sprite IDs and colours are separate sets. Here are two entries from the source-backed game-build-3258 catalog:

Sprite IDOfficial sprite name
1radar_level
61radar_hospital

Do not assume that missing numeric IDs are valid or that sprite 1 is a generic circle. Use the visual blip explorer and code generator for the full searchable set of 883 sprites and current examples. The official Cfx.re list  is the upstream reference.

Ped Bones (Bone Index)

Used with GetPedBoneIndex(ped, BoneID) for attaching objects to players.

IDBone NameDescription
31086SKEL_HeadHead
24818SKEL_Spine3Upper Spine / Chest
57005SKEL_R_HandRight Hand (Weapons)
18905SKEL_L_HandLeft Hand
28252SKEL_R_ForearmRight Forearm
11816SKEL_PelvisPelvis / Hips
63931SKEL_L_CalfLeft Leg
36864SKEL_R_CalfRight Leg

Weather Types

Used with SetWeatherTypeNow(type).

  • EXTRASUNNY
  • CLEAR
  • CLOUDS
  • SMOG
  • FOGGY
  • OVERCAST
  • RAIN
  • THUNDER
  • CLEARING
  • NEUTRAL
  • SNOW
  • BLIZZARD
  • SNOWLIGHT
  • XMAS
  • HALLOWEEN

Marker Types

Used with DrawMarker(type, ...).

IDDescriptionShape
1CylinderVertical Cylinder
2Chevron UpArrow pointing up
20Chevron UpMap marker style
27RotateRotating arrows (Mission)
28SphereFloating Ball
36CarRotating Car Model

Full List: FiveM Docs - Markers