Whitelist Use of Emergency Vehicles

Hey guys. so i have everything working except i am trying to make it check player names, not skins or jobs. But i have been working on it for 8 hours none stop and cant get it. does anyone know how to do that? please please.

@Cheleber Can you please make a β€œ_resource.lua” and β€œclient.lua” and can it be just that just police,ambulance can get in to the emergency vehicles? And if it’s not too much trouble could a civ get a message β€œDo you want to go to jail?” when he tries to enter a police vehicle?

SQL jobs:
police
ambulance

Using ESX

Thank you but I really don’t have any xp with coding/programming :frowning: