FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_GROUND_Z_FOR_3D_COORD
(float x, float y, float z, float* groundZ, BOOL includeWater)
GET_HASH_KEY
(char* string)
GET_HEADING_FROM_VECTOR_2D
(float dx, float dy)
GET_INDEX_OF_CURRENT_LEVEL
()
GET_IS_AUTO_SAVE_OFF
()
_GET_IS_PLAYER_IN_ANIMAL_FORM
()
GET_LINE_PLANE_INTERSECTION
(float x1, float y1, float z1, float x2, float y2, float z2, float planeX, float planeY, float planeZ, float planeNormalX, float planeNormalY, float planeNormalZ, float* intersectionParameter)
GET_MISSION_FLAG
()
GET_MODEL_DIMENSIONS
(Hash modelHash, Vector3* minimum, Vector3* maximum)
GET_NEXT_WEATHER_TYPE_HASH_NAME
()
_GET_NUM_DISPATCHED_UNITS_FOR_PLAYER
(int dispatchService)
GET_NUM_SUCCESSFUL_STUNT_JUMPS
()
GET_NUMBER_OF_FREE_STACKS_OF_THIS_SIZE
(int stackSize)
GET_ONSCREEN_KEYBOARD_RESULT
()
_GET_POWER_SAVING_MODE_DURATION
()
GET_PREV_WEATHER_TYPE_HASH_NAME
()
GET_PROFILE_SETTING
(int profileSetting)
_GET_PROJECTILE_NEAR_PED
(Ped ped, Hash weaponHash, float distance, Vector3* outCoords, Object* outProjectile, BOOL ownedByPlayer)
GET_RAIN_LEVEL
()
GET_RANDOM_EVENT_FLAG
()
GET_RANDOM_FLOAT_IN_RANGE
(float startRange, float endRange)
GET_RANDOM_INT_IN_RANGE
(int startRange, int endRange)
_GET_RANDOM_INT_IN_RANGE_2
(int startRange, int endRange)
GET_REPLAY_STAT_AT_INDEX
(int index)
GET_REPLAY_STAT_COUNT
()
GET_REPLAY_STAT_MISSION_TYPE
()
GET_SIZE_OF_SAVE_DATA
(BOOL p0)
GET_SNOW_LEVEL
()
GET_STATUS_OF_MISSION_REPEAT_SAVE
()
GET_TENNIS_SWING_ANIM_COMPLETE
(Ped ped)
GET_TOTAL_SUCCESSFUL_STUNT_JUMPS
()
_GET_WEATHER_TYPE_TRANSITION
(Hash* weatherType1, Hash* weatherType2, float* percentWeather2)
GET_WIND_DIRECTION
()
GET_WIND_SPEED
()
_HAS_ASYNC_INSTALL_FINISHED
()