FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_PLAYER_VEHICLE_DEFENSE_MODIFIER
(Player playerId)
GET_PLAYER_WANTED_CENTRE_POSITION
(char* playerSrc)
GET_PLAYER_WANTED_LEVEL
(char* playerSrc)
GET_PLAYER_WEAPON_DAMAGE_MODIFIER
(Player playerId)
GET_PLAYER_WEAPON_DEFENSE_MODIFIER
(Player playerId)
GET_PLAYER_WEAPON_DEFENSE_MODIFIER_2
(Player playerId)
GET_RANDOM_VEHICLE_DENSITY_MULTIPLIER
()
GET_REGISTERED_COMMANDS
()
GET_RESOURCE_BY_FIND_INDEX
(int findIndex)
GET_RESOURCE_KVP_FLOAT
(char* key)
GET_RESOURCE_KVP_INT
(char* key)
GET_RESOURCE_KVP_STRING
(char* key)
GET_RESOURCE_METADATA
(char* resourceName, char* metadataKey, int index)
GET_RESOURCE_PATH
(char* resourceName)
GET_RESOURCE_STATE
(char* resourceName)
GET_ROPE_FLAGS
(int rope)
GET_ROPE_LENGTH_CHANGE_RATE
(int rope)
GET_ROPE_TIME_MULTIPLIER
(int rope)
GET_ROPE_UPDATE_ORDER
(int rope)
GET_RUNTIME_TEXTURE_HEIGHT
(long tex)
GET_RUNTIME_TEXTURE_PITCH
(long tex)
GET_RUNTIME_TEXTURE_WIDTH
(long tex)
GET_SCENARIO_PED_DENSITY_MULTIPLIER
()
GET_SELECTED_PED_WEAPON
(Ped ped)
GET_STATE_BAG_VALUE
(char* bagName, char* key)
GET_TIMECYCLE_MODIFIER_COUNT
()
GET_TIMECYCLE_MODIFIER_INDEX_BY_NAME
(char* modifierName)
GET_TIMECYCLE_MODIFIER_NAME_BY_INDEX
(int modifierIndex)
GET_TIMECYCLE_MODIFIER_STRENGTH
()
GET_TIMECYCLE_MODIFIER_VAR
(char* modifierName, char* varName, float* value1, float* value2)
GET_TIMECYCLE_MODIFIER_VAR_COUNT
(char* modifierName)
GET_TIMECYCLE_MODIFIER_VAR_NAME_BY_INDEX
(char* modifierName, int modifierVarIndex)
GET_TIMECYCLE_VAR_COUNT
()
GET_TIMECYCLE_VAR_DEFAULT_VALUE_BY_INDEX
(int varIndex)
GET_TIMECYCLE_VAR_NAME_BY_INDEX
(int varIndex)