اول شي بشرح لك الكود د
خد الاحداتيات
وحطها هون
if getDistanceBetweenPoints3D(X,Y,Z,getElementPosition(localPlayer)) < 30 then
ونفس الحدايات حطها هون
x,y = getScreenFromWorldPosition(X,Y,Z+ 1.5)
لون الكتابة والحجم
tocolor(255,255,0,255),2.0,"default-bold
متااااال
addEventHandler("onClientRender",root,
function()
if getDistanceBetweenPoints3D(-3524.79932,-3007.64111,17.21294,getElementPosition(localPlayer)) < 30 then
x,y = getScreenFromWorldPosition(-3524.79932,-3007.64111,17.21294+ 1.5)
if x and y then
dxDrawText("[مرحبا بكم في بداية ].",x,y,x,y,tocolor(255,255,0,255),2.0,"default-bold")
end
end
end
)