| Property | Value |
|---|---|
| Native Name | PRELOAD_SCRIPT_CONVERSATION |
| Hash | 0x3B3CAD6166916D87 |
| Return Type | void |
| Build | 1207 |
| Parameters | displaySubtitles (BOOL), addToBriefScreen (BOOL), cloneConversation (BOOL), interruptible (BOOL) |
Description: Similar to START_SCRIPT_CONVERSATION, except that is starts the conversation off paused.
A scripter can then kick off the conversation by calling START_PRELOADED_CONVERSATION.
If they want to check that the conversation is done preloading, they can use GET_IS_PRELOADED_CONVERSATION_READY
Parameters
displaySubtitles(BOOL)addToBriefScreen(BOOL) — Defaults to truecloneConversation(BOOL) — Defaults to falseinterruptible(BOOL) — Defaults to true
Usage
Lua (Direct):
PreloadScriptConversation(displaySubtitles, addToBriefScreen, cloneConversation, interruptible)
Lua (Hash):
Citizen.InvokeNative(0x3B3CAD6166916D87, displaySubtitles, addToBriefScreen, cloneConversation, interruptible)