Mr.Mostafa Posted August 27, 2018 Share Posted August 27, 2018 سلام عليكم آبي آخلي آلصورة هآدي كل آلآعبين يشوفوهآ آلي آلآعب آلي عليه آلصورة آتحقق مثلا كدآ if localPlayer == player then return end ولآ addEventHandler("onClientPreRender", root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementData ( player, "theT" ) == true ) 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 ) Link to comment
Trefeor Posted August 27, 2018 Share Posted August 27, 2018 addEventHandler("onClientPreRender", root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementData ( player, "theT" ) == true and player ~= localPlayer ) 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 ) Link to comment
Mr.Mostafa Posted August 27, 2018 Author Share Posted August 27, 2018 7 minutes ago, Trefeor said: addEventHandler("onClientPreRender", root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementData ( player, "theT" ) == true and player ~= localPlayer ) 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 ) تمآم شكرآ لك 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