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.
You can also use command.
Camera Creator
Use following command to open camera creator.
Camera Remove
Use following command to remove closest camera
CreateOutfitMenu
Use following export to open outfit creator menu
You can also use a command
RemoveOutfitMenu
Use following export to open outfit remove menu
You can also use a command
getRadarPlates
Use following exports to get front or rear antena plate
Return:
frontPlate:
stringornil
Return:
rearPlate:
stringornil
hasTrackingBand
Use following statebag to check if player has tracking band
playerId:
numberExisting player server id
Return:
state:
boolean
Create Ticket
Last updated