Hawk_bs
12
It is pretty easy to get into the “Identity”-tab in the menu.
A piece of the code, that I use on my own server:
-- get driver license status
local driverlicense = ""
vRP.getDriverLicense(user_id, function(license)
driverlicense = license.DmvTest
if driverlicense == 3 then
driverlicense = "Yes"
elseif driverlicense == 2 then
driverlicense = "Taken"
else
driverlicense = "No"
end
Be aware, this is using INT’s, instead of “Required”/“Passed”