Jump to content

BindKey تصحيح


Recommended Posts

Posted

لما تستبدل الاكواد

ادخل السيرفر وسوي

/refresh

بعدين سوي رستارت للمود

/restart Name

Name == اسم المود حقك

:D

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
[b]  GUIEditor = { 
    button = {}, 
    label = {}, 
    memo = {} 
    } 
    addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
    w = guiCreateWindow(101, 183, 628, 254, "Rules Mode V1 |^", false) 
    guiWindowSetSizable(w, false) 
    guiSetProperty(w, "CaptionColour", "A300CD74") 
    GUIEditor.button[1] = guiCreateButton(9, 189, 607, 28, "[3.F] @ Copy Rghit 2014 ", false, w) 
    guiSetFont(GUIEditor.button[1], "default-bold-small") 
    guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF003196") 
    GUIEditor.memo[1] = guiCreateMemo(9, 55, 607, 124, " | Welcome To Server [3.F] | اهلآ وسهلآ في سيرفر للفن عنوان |\n\n1>Respect The Players And The Admin | الرجاء احترام الزوار و الأدمنية\n2>Dont Ask For Admin = Mute | الرجاء عدم طلب الأدمنية = ميوت\n3>Dont Insults + Publishing = Ban | الرجاء عدم السب + نشر السيرفرات =باند\n4>For Contact The Admin F8 > report | \n [Thanks To Vist Our Server | شكرآ لزيارتكم السيرفر]", false, w) 
    guiMemoSetReadOnly(GUIEditor.memo[1], true) 
    GUIEditor.label[1] = guiCreateLabel(241, 35, 152, 20, "Vistor Rules | قوانين الزوار", false, w) 
    guiSetFont(GUIEditor.label[1], "default-bold-small") 
    guiLabelSetColor(GUIEditor.label[1], 254, 254, 255) 
    guiSetVisible (w, false) 
    end 
    ) 
  
    function Show () 
getVisible = guiGetVisible (w) 
if (getVisible == true) then 
    guiSetVisible (w, false) 
    showCursor (false) 
    guiSetInputEnabled(false) 
    else 
        guiSetVisible (w, true) 
    showCursor (true) 
    guiSetInputEnabled(true) 
    end 
end 
bindKey("F1","down",Show)[/b] 

الكود

Posted

._.

4 صفحات ع كود فاشل :mrgreen:

ي صاحب الموضوع تاكد ان سيرفرك اخر اصدار 1.4

لان انا اشوف تضهر عندي مشاكل بالهبل ._.

بعض الكودات تشتغل وبعضها لا مدري وش السالفةة يمكن من اللعبهه

ع العموم شف كودات العيال تقريبا كلها صحيحة.

تاكد من سكربتكك.

Posted

هات ملف الميتا

اظن المشكلة منه

انا ولا مرة بحياتي

ال ام تي ايه

صارت معي ذي المشكلة

Posted

GUIEditor = { 
button = {}, 
label = {}, 
memo = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
function() 
w = guiCreateWindow(101, 183, 628, 254, "Rules Mode V1 |^", false) 
guiWindowSetSizable(w, false) 
guiSetProperty(w, "CaptionColour", "A300CD74") 
GUIEditor.button[1] = guiCreateButton(9, 189, 607, 28, "[3.F] @ Copy Rghit 2014 ", false, w) 
guiSetFont(GUIEditor.button[1], "default-bold-small") 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF003196") 
GUIEditor.memo[1] = guiCreateMemo(9, 55, 607, 124, " | Welcome To Server [3.F] | اهلآ وسهلآ في سيرفر للفن عنوان |\n\n1>Respect The Players And The Admin | الرجاء احترام الزوار و الأدمنية\n2>Dont Ask For Admin = Mute | الرجاء عدم طلب الأدمنية = ميوت\n3>Dont Insults + Publishing = Ban | الرجاء عدم السب + نشر السيرفرات =باند\n4>For Contact The Admin F8 > report | \n [Thanks To Vist Our Server | شكرآ لزيارتكم السيرفر]", false, w) 
guiMemoSetReadOnly(GUIEditor.memo[1], true) 
GUIEditor.label[1] = guiCreateLabel(241, 35, 152, 20, "Vistor Rules | قوانين الزوار", false, w) 
guiSetFont(GUIEditor.label[1], "default-bold-small") 
guiLabelSetColor(GUIEditor.label[1], 254, 254, 255) 
guiSetVisible (w, false) 
end 
) 
  
bindKey ( "F1", "down", 
    function ( ) 
        if guiGetVisible (w ) then 
            guiSetVisible ( w, false ) 
            showCursor ( false ) 
        else 
            showCursor ( true ) 
            guiSetVisible ( w, true ) 
        end 
    end 
) 

+

تأكد بملف الميتا السكربت يكون

client

مو سيرفر !

واستخدم

/debugscript 3

عشان نشوف وش الاخطاء . .

Posted (edited)

@ Alooy123 :

-- # Client Side ! 
GUIEditor = { 
    button = {}, 
    label = {}, 
    memo = {} 
} 
  
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        w = guiCreateWindow(101, 183, 628, 254, "Rules Mode V1 |^", false) 
        guiWindowSetSizable(w, false) 
        guiSetVisible (w, false) 
        guiSetProperty(w, "CaptionColour", "A300CD74") 
        GUIEditor.button[1] = guiCreateButton(9, 189, 607, 28, "[3.F] @ Copy Rghit 2014 ", false, w) 
        guiSetFont(GUIEditor.button[1], "default-bold-small") 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF003196") 
        GUIEditor.memo[1] = guiCreateMemo(9, 55, 607, 124, " | Welcome To Server [3.F] | اهلآ وسهلآ في سيرفر للفن عنوان |\n\n1>Respect The Players And The Admin | الرجاء احترام الزوار و الأدمنية\n2>Dont Ask For Admin = Mute | الرجاء عدم طلب الأدمنية = ميوت\n3>Dont Insults + Publishing = Ban | الرجاء عدم السب + نشر السيرفرات =باند\n4>For Contact The Admin F8 > report | \n [Thanks To Vist Our Server | شكرآ لزيارتكم السيرفر]", false, w) 
        guiMemoSetReadOnly(GUIEditor.memo[1], true) 
        GUIEditor.label[1] = guiCreateLabel(241, 35, 152, 20, "Vistor Rules | قوانين الزوار", false, w) 
        guiSetFont(GUIEditor.label[1], "default-bold-small") 
        guiLabelSetColor(GUIEditor.label[1], 254, 254, 255) 
    end 
) 
  
bindKey("F1", "down", function ( ) 
    guiSetVisible ( w, not guiGetVisible ( w ) ) 
    showCursor ( guiGetVisible ( w ) ) 
    guiSetInputEnabled ( guiGetVisible ( w ) ) 
end) 

-- # Meta.xml 

    

Link : http://www.gulfup.com/?KHAKnN

Edited by Guest
Posted
guiSetVisible (w, false) , وين ؟

يابن الحلال كودي صحيح وشغال 100 %

بس وش السكربت اللي عندك زر اف 6 ؟

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