Jump to content

مشكلة بمود يشتغل بالمحلي والعادي لا


Recommended Posts

سلام عليكم عندي مشكلة في مود

ان المود يشتغل في السرفر المحلي عادي 

لكن لما احطه في السرفر العالمي ما يطلع التاج فوقي وش المشكلة ؟

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

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...