addEventHandler('onClientRender',root,
function()
local x,y,z = الاحداثيات
local MX,MY,MZ = getCameraMatrix()
if getDistanceBetweenPoints3D( MX, MY,MZ,x,y,z ) <= 10 then
local WX,WY = getScreenFromWorldPosition(x-0.50,y,z + 0.85,0)
if WX and WY then
dxDrawText('الكتابة',WX,WY,WX,WY,tocolor(255,255,0),1.5,'default-bold')
end
end
end
)
عدل مكان الاحداثيات والكتابة