function createText ( ) local playerX, playerY, playerZ = getElementPosition ( localPlayer ) local playerZoneName = getZoneName ( playerX, playerY, playerZ ) local tx,ty = guiGetScreenSize() local tfont = dxCreateFont(\"draw.ttf\",40) local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) local VehicleName = getVehicleName ( theVehicle ) dxDrawText (VehicleName, tx-480, ty-80, 250, 80, tocolor ( 73,208,141, 255 ), 1.02, tfont) dxDrawText (playerZoneName, tx-400, ty-140, 250, 80, tocolor ( 255, 255, 255, 255 ), 1.02, tfont) endaddEventHandler ( \"onClientRender\", root, createText )
local tfont = dxCreateFont(\"draw.ttf\",40)function createText ( ) local playerX, playerY, playerZ = getElementPosition ( localPlayer ) local playerZoneName = getZoneName ( playerX, playerY, playerZ ) local tx,ty = guiGetScreenSize() local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) local VehicleName = getVehicleName ( theVehicle ) dxDrawText (VehicleName, tx-480, ty-80, 250, 80, tocolor ( 73,208,141, 255 ), 1.02, tfont) dxDrawText (playerZoneName, tx-400, ty-140, 250, 80, tocolor ( 255, 255, 255, 255 ), 1.02, tfont)endaddEventHandler ( \"onClientRender\", root, createText )