FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
  • Home
      • Client manual
        • Console commandsCrosshair commands
      • Server manual
        • Setting up a serverSetting up a server using a game server hosting providerSetting up a server using txAdminSetting up a Vanilla FXServerServer CommandsProxy SetupFinding resourcesFrameworks
      • Guides for scripting
          • Scripting introduction
            • Introduction to resourcesCreating your first script in C#Creating your first script in JavaScriptCreating your first script in LuaFact SheetUnderstanding and Using Native Functions
          • Scripting runtimes
            • Scripting in LuaScripting in JavaScriptScripting in C#
          • Networking
            • Network and local IDsState bags
          • Migrating from deprecated methods
            • Creating chat messagesCreating commands
          • Working with events
            • Listening for eventsTriggering eventsEvent Cancelation
          • User interfaces with NUI
            • Fullscreen NUIDirect-rendered UINUI callbacks
              • Loading screens
          • Voice
          • Using Scaleform
          • Debugging
            • Using the profiler
          • Using new game features
            • Work with drawable components and props using collectionsFuel consumption
      • Stock resources
          • baseevents
          • chat
              • Events
                • chat:addMessagechat:addSuggestionchat:addSuggestionschat:addTemplatechat:clearchat:removeSuggestionchatMessage
              • Exports
                • addMessage (client)addMessage (server)addSuggestionregisterMessageHookregisterMode
          • mapmanager
          • sessionmanager
          • spawnmanager
          • txAdmin
      • Game references
        • Controls
          • Input mapper/parameter IDs
            • DIGITALBUTTON_AXISGAME_CONTROLLEDJOYSTICK_AXISJOYSTICK_AXIS_NEGATIVEJOYSTICK_AXIS_POSITIVEJOYSTICK_BUTTONJOYSTICK_IAXISJOYSTICK_POVJOYSTICK_POV_AXISKEYBOARDMKB_AXISMOUSE_ABSOLUTEAXISMOUSE_BUTTONMOUSE_BUTTONANYMOUSE_CENTEREDAXISMOUSE_NORMALIZEDMOUSE_RELATIVEAXISMOUSE_SCALEDAXISMOUSE_WHEELPAD_ANALOGBUTTONPAD_AXISPAD_DEBUGBUTTONPAD_DIGITALBUTTONPAD_DIGITALBUTTONANYTOUCHPAD_ABSOLUTE_AXISTOUCHPAD_CENTERED_AXIS
          BlipsCheckpointsMarkersData files
          • Vehicle references
            • Vehicle modelsVehicle ColoursVehicle Flags
          Game eventsGamer tagsInstructional ButtonsPed modelsHUD colorsPickup HashesProfile SettingsRadio StationsWeapon modelsText formattingSpeeches
      • Support
        • Client FAQClient issuesServer debuggingServer issuesBans FAQResource FAQRequesting Documentation
      • Developer docs
        • SandboxScript runtimesSecure your events
      • FxDK
        • ResourcesWorld EditorProject buildingFXCode
      • Contributing
          • Git
            • Squash GuideRebase Guide
          How you can help
      • Scripting reference
          • Client functions
          • Server functions
          Resource manifest
          • Runtime-specific references
              • C# function reference
                • Client-side functions in C#Server-side functions in C#
              • JavaScript function reference
                • Client-side functions in JavaScriptServer-side functions in JavaScript
              • Lua function reference
                • Client-side functions in LuaServer-side functions in Lua
          • Events
              • Client events
              • Server events
              • List of events
                • gameEventTriggeredonClientResourceStartonClientResourceStoponResourceStartonResourceStartingonResourceStopplayerConnectingplayerDroppedrespawnPlayerPedEventvehicleComponentControlEventpopulationPedCreatingrconCommand
          • Convars
          • OneSync

Contributing

  • Git Section (Guides)
  • How you can help
Privacy
•
Cookie Policy
•
Cookie Settings