FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: AUDIOAPI set: clientGame: gta5editImprove

ADD_LINE_TO_CONVERSATION

0xC5EF963405593646
0x96CD0513
// AddLineToConversation
void ADD_LINE_TO_CONVERSATION(int index, char* p1, char* p2, int p3, int p4, BOOL p5, BOOL p6, BOOL p7, BOOL p8, int p9, BOOL p10, BOOL p11, BOOL p12);
NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs,
_GET_TEXT_SUBSTRING and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts.
p0 is -1, 0 - 35
p1 is a char or string (whatever you wanna call it)
p2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop
p3 is again -1, 0 - 35
p4 is again -1, 0 - 35
p5 is either 0 or 1 (bool ?)
p6 is either 0 or 1 (The func to determine this is bool)
p7 is either 0 or 1 (The func to determine this is bool)
p8 is either 0 or 1 (The func to determine this is bool)
p9 is 0 - 3 (Determined by func_60 in dialogue_handler.c)
p10 is either 0 or 1 (The func to determine this is bool)
p11 is either 0 or 1 (The func to determine this is bool)
p12 is unknown as in TU27 X360 scripts it only goes to p11.
UPDATE_MAPDATA_ENTITY(int mapdata, int entity, object entityDef)
VERIFY_PASSWORD_HASH(char* password, char* hash)
WAS_EVENT_CANCELED()
Namespace: APP
APP_CLEAR_BLOCK()
APP_CLOSE_APP()
APP_CLOSE_BLOCK()
APP_DATA_VALID()
APP_DELETE_APP_DATA(char* appName)
APP_GET_DELETED_FILE_STATUS()
APP_GET_FLOAT(char* property)
APP_GET_INT(char* property)
APP_GET_STRING(char* property)
APP_HAS_LINKED_SOCIAL_CLUB_ACCOUNT()
APP_HAS_SYNCED_DATA(char* appName)
APP_SAVE_DATA()
APP_SET_APP(char* appName)
APP_SET_BLOCK(char* blockName)
APP_SET_FLOAT(char* property, float value)
APP_SET_INT(char* property, int value)
APP_SET_STRING(char* property, char* value)
Namespace: AUDIO
ACTIVATE_AUDIO_SLOWMO_MODE(char* p0)
ADD_ENTITY_TO_AUDIO_MIX_GROUP(Entity entity, char* groupName, float p2)
ADD_LINE_TO_CONVERSATION(int index, char* p1, char* p2, int p3, int p4, BOOL p5, BOOL p6, BOOL p7, BOOL p8, int p9, BOOL p10, BOOL p11, BOOL p12)
ADD_PED_TO_CONVERSATION(int index, Ped ped, char* p2)
AUDIO_IS_SCRIPTED_MUSIC_PLAYING()
BLIP_SIREN(Vehicle vehicle)
BLOCK_DEATH_JINGLE(BOOL toggle)
_CAN_PED_SPEAK(Ped ped, char* speechName, BOOL unk)
_CANCEL_CURRENT_POLICE_REPORT()
CANCEL_MUSIC_EVENT(char* eventName)
CLEAR_ALL_BROKEN_GLASS()
CLEAR_AMBIENT_ZONE_LIST_STATE(Any* p0, BOOL p1)
CLEAR_AMBIENT_ZONE_STATE(char* zoneName, BOOL p1)