Jump to content

تصحيح كود


Recommended Posts

Posted

تصحيح كود

  if ( getElementDimension ( source ) == 30  ) then  
        outputChatBox("تم دخول الديربي بنجاح",255,0,0) 
    end 
end 

هذا محاولتي

Posted

السورس غير معرف وعندك اند زايد وكودك كذا ماله اي فايده غير انه يتحقق مره واحده اذا كان السورس معرف

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

كذا مظبوط ؟

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

كذا مظبوط ؟

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

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

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

function ( Player )

Posted
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) 

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