Server Exports
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
createCourtHearing
Use following export to create court hearing in TV [Visible to restart script/server]
local data = {
id = 1
judge = 'char1:123456' -- replace with existing player identifier
prosecutor = 'char2:123456' -- replace with existing player identifier
applicant = 'char3:123456' -- replace with existing player identifier
accused = 'John Doe'
suing = 'Jane Smith'
room = 1
time = os.time()
}
exports['p_dojjob']:createCourtHearing(data)
Last updated