Jump to content

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


Recommended Posts

السلام عليكمم ..

:) أخبارككم آن شاءالله باحسن حآل

أبي كودَ عدم تشغيل لوحة لتيم معين

ماتفتح له النافذة Grove مثلأ انا سويت لوحة حرب يوم يدخلها لأعب تيم

* أو عن طريق مكان الاحداثيات لجميع الاعبينَ

:oops: شكراً لمن اراد مسآعدتيَ

Link to comment

  
addEventHandler("onClientResourceStart", resourceRoot, 
function () 
if ( getPlayerTeam(localPlayer) ) and ( getTeamName(getPlayerTeam(localPlayer)) ) == "Grove" then 
guiSetEnabled(GUIEditor_Window[1], true) 
else 
guiSetEnabled(GUIEditor_Window[1], false) 
end 
end 
) 
  
  

شف هذا الكود حقكَ شغال فيهآ اللوحة بس مايقدر يضغط على ازرار اللوحة

guiCreateWindow طيب انا ابيهة يخفيهآ تماماً .. وكيف اعرف اسم معرف لوحة الفري رومَ

Link to comment

The Killer يعطيك العافيه

ماققصرت لبى قلبكَك

.. افادني كود ذا بيست

لمعرفه اسم المكان

addCommandHandler('Zone', 
function() 
    local x,y,z = getElementPosition(localPlayer) 
    local Zone = getZoneName(x,y,z) 
    outputChatBox('* Your Location : '..Zone,255,255,0,true) 
    setClipboard(Zone) 
    end 
) 

  
  
function toggleFRWindow() 
    if isWindowOpen(wndMain) then 
        showCursor(false) 
        hideAllWindows() 
        colorPicker.closeSelect() 
    else 
        showCursor(true) 
        showAllWindows() 
    end 
end 
  
  

^ تقريبا بسطر 1595 fr_client.lua تلقاه هذا الكود في ملف

بدله بهذا,

  
  
function toggleFRWindow() 
    local x,y,z = getElementPosition(g_Me) 
    if getZoneName(x,y,z) == 'Ganton' then return false end 
    if isWindowOpen(wndMain) then 
        showCursor(false) 
        hideAllWindows() 
        colorPicker.closeSelect() 
    else 
        showCursor(true) 
        showAllWindows() 
    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...