Jump to content

DxDrawTextOnElement


Recommended Posts

Posted (edited)

Boa noite, gostaria de saber porque isso apenas funciona quando renicio o resource e não quando o jogador entra naquela dimensão. Tem solução?

local joao = createPed (202, -23, -57, 1003, 0)
setElementInterior(ManuelChapeiro, 6)
setElementDimension(ManuelChapeiro, 90)

local dimensao = getElementDimension(localPlayer) 

function wolrdTexts()
if dimensao == 90 then
    dxDrawTextOnElement(joao,"#FFFFFFAtendente #4682B4João #FFFFFF(Frentista)\n #FFFFFFAperta 'N' e clique em mim",1,20,255,255,255,255,1	,Font_4)
end
end
addEventHandler("onClientRender",root, wolrdTexts)

 

Edited by GodKraken
  • Tut locked this topic
  • Moderators
Posted

Closing thread as has been resolved

Give a man a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime - Lao Tzu

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...