Bullyn Posted March 15, 2021 Share Posted March 15, 2021 Oque eu devo usar pra fazer essa mensagem em cima do Ped ???? Link to comment
Other Languages Moderators Lord Henry Posted March 15, 2021 Other Languages Moderators Share Posted March 15, 2021 dxDrawTextOnElement 1 Link to comment
Bullyn Posted March 15, 2021 Author Share Posted March 15, 2021 6 hours ago, Lord Henry said: dxDrawTextOnElement Não funcionou, já tentei de tudo e nada, tô tentando colocar ela em um Ped Link to comment
Other Languages Moderators androksi Posted March 15, 2021 Other Languages Moderators Share Posted March 15, 2021 Você está adicionado o código daquela função dentro do seu código? É necessário. Link to comment
Other Languages Moderators Lord Henry Posted March 16, 2021 Other Languages Moderators Share Posted March 16, 2021 O script deve ser client-side. E você precisa adicionar o código-fonte da função no seu script, pois ela é uma função útil. Link to comment
Jaga Posted March 31, 2021 Share Posted March 31, 2021 Você pode usar em seu Client local ped = createPed(147, 1829.142, -1435.576, 13.958) setElementRotation(ped, -0, 0, 180) setElementFrozen(ped, true) addEventHandler("onClientRender", root, function() if (getDistanceBetweenPoints3D( 1829.142, -1435.576, 13.958 +1.0, getElementPosition(getLocalPlayer()))) < 10 then local coords = {getScreenFromWorldPosition( 1829.142, -1435.576, 13.958 +1.0)} if coords[1] and coords[2] then dxDrawText("Seu texto", coords[1], coords[2], coords[1], coords[2], tocolor( 255, 255, 255, 255), 1.55, "default", "center", "center", false, false, false, true, false) end end end) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now