Mr.Mostafa Posted June 25, 2018 Share Posted June 25, 2018 سلام عليكم عندي مشكلة في مود ان المود يشتغل في السرفر المحلي عادي لكن لما احطه في السرفر العالمي ما يطلع التاج فوقي وش المشكلة ؟ local tag = dxCreateTexture("3.png") addEventHandler("onClientPreRender", root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do if getElementData(player,"tag_state") == "back" then local x, y, z = getPedBonePosition(player, 5) dxDrawMaterialLine3D(x, y, z+0.5, x, y, z+0.3, tag, 0.7, tocolor(255,255,255,255)) end end end ) addCommandHandler("new", function (thePlayer) outputChatBox(getPlayerName(thePlayer).." test!",root,255,50,0) setElementData(thePlayer,"tag_state","back") end) Link to comment
N3xT Posted June 25, 2018 Share Posted June 25, 2018 جرب تستدبل onClientPreRender ب onClientRender Link to comment
Mr.Mostafa Posted June 25, 2018 Author Share Posted June 25, 2018 (edited) 4 hours ago, N3xT said: جرب تستدبل onClientPreRender ب onClientRender آعتقد كآن آلخطآ مني - شكرآ لك Edited June 25, 2018 by Mr.Mostafa 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