Files
red-valley/resources/[framework]/[addons]/0r_idcard/readme.txt
2026-03-29 21:41:17 +03:00

10 lines
313 B
Plaintext

You can check if the player has licenses like this:
local result = doesPlayerHasLicense("driver", 2)
2 is the server id of the player, and you can check for weapon or driver license
And to give player a license
setPlayerLicense(2, "weapon", 1)
2 is player id
weapon is type
1 means has license and 0 means false