Comment on page
Implements name and plate lookups via the CAD.
This plugin is currently only used as a dependency for other plugins, and does not have any in-game commands for general player usage.
This plugin Implements name and plate lookups via the CAD.
Do not set the cache timer too low or you may run into rate limiting.
first: First Name
last: Last Name
mi: Middle Initial
callback: function called with return data
function cadNameLookup(first, last, mi, callback)
plate: plate number
basicFlag: true returns cached record if possible which only contains vehicleRegistrations object, false calls the API
callback: the function called with the return data
autoLookup: when populated with an API ID, pops open a search window on the officer's CAD (optional)
function cadPlateLookup(plate, basicFlag, callback, autoLookup)
This plugin also adds the commands
platefindwhich takes the above arguments and prints the returned JSON object to the console.