Mr.Mostafa Posted April 18, 2018 Share Posted April 18, 2018 آلسلام عليكم دآ مود آن لو آحد معه كونسل تيجي آلصورة فوق رآسه بس آشغل آلمود مآ يجي صورة ممكن تصحيح للكود ؟ Server -- addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _,players in ipairs ( getElementsByType ( "player" ) ) do if ( getPlayerAccount( players ) and not isGuestAccount( getPlayerAccount( players ) ) ) then if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( players ) ), aclGetGroup ( "Console" ) ) ) then--اسم الرتبه setElementData ( players, "VIPData", true ) end end end end ) addEventHandler ( "onPlayerLogin", root, function ( _,acc ) if ( isObjectInACLGroup ( "user."..getAccountName( acc ), aclGetGroup ( "Console" ) ) ) then--اسم الرتبه setElementData ( source, "VIPData", true ) end end ) client -- local tag = dxCreateTexture("3.png") addEventHandler("onClientPreRender", root, function() for i, player in ipairs ( getElementsByType ( "player" ) ) do if ( getElementData ( player, "VIPData" ) == 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
MA[S]RIY Posted April 19, 2018 Share Posted April 19, 2018 هذا المود منشور ع النت وشغال تمام بس انت تاكد من اسم الصوره هو حاليا اسم الصوره 3 بصيغه بنج ولا تنسي تعرف الصوره بالكلينت وتحط الصوره بملف المود Link to comment
Mr.Mostafa Posted April 19, 2018 Author Share Posted April 19, 2018 33 minutes ago, MARIY said: هذا المود منشور ع النت وشغال تمام بس انت تاكد من اسم الصوره هو حاليا اسم الصوره 3 بصيغه بنج ولا تنسي تعرف الصوره بالكلينت وتحط الصوره بملف المود متآكد من كل شي وآشغل آلمود مآ يجي تآج فوقي 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