golanu21 Posted August 4, 2013 Share Posted August 4, 2013 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 ... Link to comment
csiguusz Posted August 4, 2013 Share Posted August 4, 2013 addEventHandler ( "onClientMarkerHit", lucrator1, function ( hitPlayer, matchingDimension ) if hitPlayer == localPlayer then addEventHandler ( "onClientRender", getRootElement(), dxText6 ) 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