golanu21 Posted July 29, 2013 Share Posted July 29, 2013 addEventHandler("onClientMarkerHit", capitan, function() dxDrawText("Apasa \"F\" pentru misiune.", 756, 596, 1161, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 756, 594, 1161, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 754, 596, 1159, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 754, 594, 1159, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 755, 595, 1160, 629, tocolor(49, 250, 2, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) end ) how i make that to see while sitting in the marker ? and when i leave him how i use "onClientMarkerLeave" Link to comment
Vision Posted July 29, 2013 Share Posted July 29, 2013 function dxText ( ) dxDrawText("Apasa \"F\" pentru misiune.", 756, 596, 1161, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 756, 594, 1161, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 754, 596, 1159, 630, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 754, 594, 1159, 628, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) dxDrawText("Apasa \"F\" pentru misiune.", 755, 595, 1160, 629, tocolor(49, 250, 2, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false) end addEventHandler ( "onClientMarkerHit", capitan, function ( hitPlayer, matchingDimension ) addEventHandler ( "onClientRender", root, dxText ) end ) addEventHandler ( "onClientMarkerLeave", capitan, function ( leftPlayer, matchingDimension ) removeEventHandler ( "onClientRender", root, dxText ) end ) Is that what you wanted? Link to comment
golanu21 Posted July 29, 2013 Author Share Posted July 29, 2013 and, how i make when i press the button "f" to make something Link to comment
Moderators IIYAMA Posted July 29, 2013 Moderators Share Posted July 29, 2013 (edited) https://wiki.multitheftauto.com/wiki/BindKey https://forum.multitheftauto.com/viewtopic.php?f=91&t=62901 You already have an answer on that question. Edited July 29, 2013 by Guest 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