FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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
()
HAS_BULLET_IMPACTED_IN_AREA
(float x, float y, float z, float p3, BOOL p4, BOOL p5)
HAS_BULLET_IMPACTED_IN_BOX
(float p0, float p1, float p2, float p3, float p4, float p5, BOOL p6, BOOL p7)
_HAS_BUTTON_COMBINATION_JUST_BEEN_ENTERED
(Hash hash, int amount)
_HAS_CHEAT_STRING_JUST_BEEN_ENTERED
(Hash hash)
_HAS_RESUMED_FROM_SUSPEND
()
HAVE_CREDITS_REACHED_END
()
IGNORE_NEXT_RESTART
(BOOL toggle)
IS_AREA_OCCUPIED
(float p0, float p1, float p2, float p3, float p4, float p5, BOOL p6, BOOL p7, BOOL p8, BOOL p9, BOOL p10, Any p11, BOOL p12)
IS_AUSSIE_VERSION
()
IS_AUTO_SAVE_IN_PROGRESS
()
IS_BIT_SET
(int address, int offset)
IS_BULLET_IN_ANGLED_AREA
(float x1, float y1, float z1, float x2, float y2, float z2, float width, BOOL ownedByPlayer)
IS_BULLET_IN_AREA
(float x, float y, float z, float radius, BOOL ownedByPlayer)
IS_BULLET_IN_BOX
(float x1, float y1, float z1, float x2, float y2, float z2, BOOL ownedByPlayer)
_IS_COMMAND_LINE_BENCHMARK_VALUE_SET
()
IS_DURANGO_VERSION
()
IS_FRONTEND_FADING
()
_IS_IN_POWER_SAVING_MODE
()
IS_INCIDENT_VALID
(int incidentId)
IS_MEMORY_CARD_IN_USE
()
IS_MINIGAME_IN_PROGRESS
()