Functions
Here you will find functions and example code on how to use our Dialog V1 System.
Camera
The Camera can only be invoked on the Client-Side!
Creating Camera
exports["is_dialog"]:createCamera(entity, data)entity:
entity(ped)data:
tableornilcamera:
tableornilposition:
tableornilx:
numberornily:
numberornilz:
numberornil
offset:
tableornilx:
numberornily:
numberornilz:
numberornil
fov:
numberornilease:
booleanornileaseTime:
numberornil
animation:
tableornildict:
stringanim:
string
Example Usage
Destroying Camera
data:
tableornilease:
booleanornileaseTime:
numberornil
Example Usage
Getting Camera State
Example Usage
Dialog
The Dialog can only be invoked on the Client-Side!
Creating Dialog
data:
tableornilaudio:
tableornilpath:
string(audio/yourAudioFile.mp3)ornilvolume:
numberornil
title:
tableorniltext:
stringornilbackground:
tableornilprimary:
string(hex)ornilsecondary:
string(hex)ornil
additional:
tableorniltext:
stringornilicon:
stringornilbackground:
tableornilprimary:
string(hex)ornilsecondary:
string(hex)ornil
message:
tableorniltext:
stringorniltypeEffect:
numberorbooleanornil
buttons:
tableornilbutton:
indexed tableinput:
booleanmessage:
stringtype:
textornumbericon:
tableornilname:
stringornilcolor:
string(hex)ornil
onSelect:
function
Example Usage
Destroying Dialog
Example Usage
Getting Dialog State
Example Usage
Camera & Dialog Usage
Last updated