Jump to content

تصحيح كود


Recommended Posts

السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف
if ( getElementDimension ( Player) == 30  ) then 
        outputChatBox("تم دخول الديربي بنجاح",255,0,0) 
    end 
) 
  

كذا مظبوط ؟

Link to comment
السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف
if ( getElementDimension ( Player) == 30  ) then 
        outputChatBox("تم دخول الديربي بنجاح",255,0,0) 
    end 
) 
  

كذا مظبوط ؟

وين الحدث + الوظيفه

البلاير مو معرف

لازم تعرفه زي كذا مثلا

function ( Player )

Link to comment
local marker = createMarker(...) 
  
addEventHandler("onMarkerHit",root, 
function ( plr ) 
    if source == marker and getElementType ( plr ) == "player" and getElementDimension ( plr ) == الدمنشن then 
        outputChatBox("تم دخول الديربي بنجاح", plr, 255, 0, 0, true) 
    end 
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...