Exports
The NF_DmvSchool script provides several exports that can be used by other resources to interact with the DMV system.
Client Exports
Check License
Checks if a player has a specific license type.
licenseType
(string): The type of license to check ('car', 'motorcycle', 'truck', 'bus')Returns:
boolean
Get License Info
Gets detailed information about a specific license.
licenseType
(string): The type of license to get info forReturns:
table
Server Exports
Give License
Gives a license to a player.
source
(number): The player's server IDlicenseType
(string): The type of license to giveReturns:
boolean
Remove License
Removes a license from a player.
source
(number): The player's server IDlicenseType
(string): The type of license to removeReturns:
boolean
Check License
Checks if a player has a specific license.
source
(number): The player's server IDlicenseType
(string): The type of license to checkReturns:
boolean
Get All Licenses
Gets all licenses for a player.
source
(number): The player's server IDReturns:
table
Example Usage
Last updated