Misc
OpenExtrasMenu
With following export you can open vehicle extras menu
exports['p_policejob']:OpenExtrasMenu()ToggleRadar
Use following export to toggle police radar.
exports['p_policejob']:ToggleRadar()EditRadar
Use following command to edit radar size or position.
/edit_radarPlayAudio
Use following export to play audio for one player.
exports['p_policejob']:PlayAudio(file, volume)file:
stringFile name from web folder
volume:
numberValue between 0.0 - 1.0
TrunkEditor
Use following export to open trunk editor.
exports['p_policejob']:TrunkEditor()You can also use command.
/trunk_editorCamera Creator
Use following command to open camera creator.
/camera_creatorCamera Remove
Use following command to remove closest camera
/camera_removeCreateOutfitMenu
Use following export to open outfit creator menu
exports['p_policejob']:CreateOutfitMenu()You can also use a command
/police_outfitRemoveOutfitMenu
Use following export to open outfit remove menu
exports['p_policejob']:RemoveOutfitMenu()You can also use a command
/remove_police_outfitgetRadarPlates
Use following exports to get front or rear antena plate
local frontPlate = exports['p_policejob']:frontPlate()Return:
frontPlate:
stringornil
local rearPlate = exports['p_policejob']:rearPlate()Return:
rearPlate:
stringornil
hasTrackingBand
Use following statebag to check if player has tracking band
Player(playerId).state.hasTrackingbandplayerId:
numberExisting player server id
Return:
state:
boolean
Create Ticket
exports['p_policejob']:createTicket()
/issueTicketLast updated