FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
  • Home
      • Client manual
        • Where to buy GTA VSystem requirementsDisabling antivirusInstalling FiveMConsole commandsCrosshair commands
      • Server manual
        • Setting up a serverSetting up a server using ZAP-HostingSetting up a server using txAdminSetting up a Vanilla FXServerServer CommandsProxy SetupMigrating from CitizenMP.ServerFinding resourcesFrameworks
      • Guides for scripting
          • Scripting introduction
            • Introduction to resourcesCreating your first script in C#Creating your first script in JavaScriptCreating your first script in LuaAbout native functionsFact Sheet
          • 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 events
          • User interfaces with NUI
            • Fullscreen NUIDirect-rendered UINUI callbacksLoading screens
          • Using Scaleform
          • Debugging
            • Using the profiler
      • 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
      • Stock resources
          • baseevents
          • chat
              • Events
                • chat:addMessagechat:addSuggestionchat:addSuggestionschat:addTemplatechat:clearchat:removeSuggestionchatMessage
          • 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 filesGame eventsGamer tagsPed modelsVehicle modelsHUD colorsProfile SettingsText formatting
      • Support
        • Client FAQClient issuesServer debuggingServer issuesBans FAQResource FAQ
      • Developer docs
        • Script runtimes
      • FxDK
        • ResourcesWorld EditorProject buildingFXCode

Runtime-specific references

  • Functions in Lua
  • Functions in JavaScript
  • Functions in C#