Jump to content

clinet render


golanu21

Recommended Posts

Posted
function dxText6 ( ) 
    dxDrawText("Apasa \"F\" pentru ajutor.", 756, 596, 1161, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) 
    dxDrawText("Apasa \"F\" pentru ajutor.", 756, 594, 1161, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) 
    dxDrawText("Apasa \"F\" pentru ajutor.", 754, 596, 1159, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) 
    dxDrawText("Apasa \"F\" pentru ajutor.", 754, 594, 1159, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) 
    dxDrawText("Apasa \"F\" pentru ajutor.", 755, 595, 1160, 629, tocolor(49, 250, 2, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) 
end 
  
addEventHandler ( "onClientMarkerHit", lucrator1, 
    function ( hitPlayer, matchingDimension ) 
        addEventHandler ( "onClientRender", getRootElement(), dxText6 ) 
end 
  

when i hit the marker the dxdraw is visibile for all ...

XajVsWV.png

168_zps269f1907.gif[Dev]BloWnRPG - We BloW the World [1%]168_zps269f1907.gif

Posted
addEventHandler ( "onClientMarkerHit", lucrator1, 
    function ( hitPlayer, matchingDimension ) 
        if hitPlayer == localPlayer then 
            addEventHandler ( "onClientRender", getRootElement(), dxText6 ) 
        end 
    end ) 

Owner of [HUN]Magyar Play Szerver 1.4, IP: 31.220.43.153:22003

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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