function onMarkerHi(pl)
if (getElementType (pl) == "vehicle") then
if (source == mar) then
local vAcc = getPlayerAccount(root)
if getAccountData (vAcc, "Name") == true then outputChatBox("لديك الرخصة", root, 255, 0, 0)
else
outputChatBox("ليس لديك الرخصة", root, 255, 0, 0)
end
end
end
end
addEventHandler("onMarkerHit", getResourceRootElement(), onMarkerHi)