Well… Not much to say here, everything is on this GitHub link
Haven’t been able to find it around on GitHub or FiveM forums, so though I’d share it here with you guys.
It’s simple, might have been able to code it better, so feel free to adjust it for your own needs, but please share if you decide to do it.
Read the README on GitHub, and you should be good to go. (Credits given there too)
As as cop, you can remove the drivers license of a driver, by simply opening your In-game menu, press the Police menu, and press Remove driverslicense and type in their ID and boom.
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”
Into the VRPEX script yea it is, but not into the normal VRP, which some servers still use, because of the extensive custom work done to the framework, which would be lost by switching to VRPEX.
Also, this got released back in December, over 8 months ago.
Hi i am all new to this kind of stuff, i try to follow the text where to copy paste it, can someone plz help me i dont get the option ingame to remove the licen… ??