FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_WATER_QUAD_ALPHA
(int waterQuad, int* a0, int* a1, int* a2, int* a3)
GET_WATER_QUAD_AT_COORDS
(float x, float y)
GET_WATER_QUAD_AT_COORDS_3D
(float x, float y, float z)
GET_WATER_QUAD_BOUNDS
(int waterQuad, int* minX, int* minY, int* maxX, int* maxY)
GET_WATER_QUAD_COUNT
()
GET_WATER_QUAD_HAS_LIMITED_DEPTH
(int waterQuad, int* hasLimitedDepth)
GET_WATER_QUAD_IS_INVISIBLE
(int waterQuad, int* isInvisible)
GET_WATER_QUAD_LEVEL
(int waterQuad, float* waterQuadLevel)
GET_WATER_QUAD_NO_STENCIL
(int waterQuad, int* noStencil)
GET_WATER_QUAD_TYPE
(int waterQuad, int* waterType)
GET_WAVE_QUAD_AMPLITUDE
(int waveQuad, float* waveQuadAmplitude)
GET_WAVE_QUAD_AT_COORDS
(float x, float y)
GET_WAVE_QUAD_BOUNDS
(int waveQuad, int* minX, int* minY, int* maxX, int* maxY)
GET_WAVE_QUAD_COUNT
()
GET_WAVE_QUAD_DIRECTION
(int waveQuad, float* directionX, float* directionY)
GET_WEAPON_ANIMATION_OVERRIDE
(Ped ped)
GET_WEAPON_COMPONENT_ACCURACY_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_CAMERA_HASH
(Hash componentHash)
GET_WEAPON_COMPONENT_CLIP_SIZE
(Hash componentHash)
GET_WEAPON_COMPONENT_DAMAGE_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_RANGE_DAMAGE_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_RANGE_MODIFIER
(Hash componentHash)
GET_WEAPON_COMPONENT_RETICULE_HASH
(Hash componentHash)
GET_WEAPON_DAMAGE_MODIFIER
(Hash weaponHash)
GET_WEAPON_RECOIL_SHAKE_AMPLITUDE
(Hash weaponHash)
GET_WORLD_COORD_FROM_SCREEN_COORD
(float screenX, float screenY, Vector3* worldVector, Vector3* normalVector)
GIVE_WEAPON_COMPONENT_TO_PED
(Ped ped, Hash weaponHash, Hash componentHash)
GIVE_WEAPON_TO_PED
(Ped ped, Hash weaponHash, int ammoCount, BOOL isHidden, BOOL bForceInHand)
HAS_ENTITY_BEEN_MARKED_AS_NO_LONGER_NEEDED
(Vehicle vehicle)
HAS_MINIMAP_OVERLAY_LOADED
(int id)
HAS_VEHICLE_BEEN_DAMAGED_BY_BULLETS
(Vehicle vehicle)
HAS_VEHICLE_BEEN_OWNED_BY_PLAYER
(Vehicle vehicle)
INVOKE_FUNCTION_REFERENCE
(char* referenceIdentity, char* argsSerialized, int argsLength, int* retvalLength)
IS_ACE_ALLOWED
(char* object)
IS_BIGMAP_ACTIVE
()