Jump to content

تعديل ع كود


Recommended Posts

السلام عليكم

ذا كود لما الاعب يدخل السرفر

يفتح له ذا اللوحه

م بتفتح 

هيه ناقصها اكواد بس م اعرف وش هي

الاكواد:

wnd = guiCreateWindow(218, 135, 363, 422, "", false)
guiSetVisible(wnd,false)
wnd2 = guiCreateWindow(166,53,458,544,"قوانين السرفر",false)
guiSetVisible(wnd2,false)
user = guiCreateEdit(92, 39, 183, 27, "", false, wnd)
GUIEditor_Edit[1] = guiCreateEdit(144,-140,5,5,"",false,user)
pass = guiCreateEdit(92, 76, 183, 27, "", false, wnd)
GUIEditor_Edit[2] = guiCreateEdit(144,-139,5,5,"",false,pass)
GUIEditor.label[2] = guiCreateLabel(26, 46, 76, 20, "Username :", false, wnd)
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.label[3] = guiCreateLabel(26, 79, 76, 20, "Password :", false, wnd)
guiSetFont(GUIEditor.label[3], "default-bold-small")
log = guiCreateButton(187, 127, 88, 38, "Login", false, wnd)
guiSetProperty(log, "NormalTextColour", "FFAAAAAA")
reg = guiCreateButton(92, 127, 88, 38, "Register", false, wnd)
guiSetProperty(reg, "NormalTextColour", "FFAAAAAA")
gue = guiCreateButton(92, 169, 182, 27, "Guest", false, wnd)
guiSetProperty(gue, "NormalTextColour", "FFAAAAAA")
auto = guiCreateCheckBox(92, 111, 180, 16, "LoginAuto", true, false, wnd)
rul = guiCreateButton(102, 202, 165, 18, "Rules", false, wnd)
guiSetProperty(rul, "NormalTextColour", "FFAAAAAA")
close2 = guiCreateButton(427,19,13,12,"x",false,wnd2)
GUIEditor_Memo[1] = guiCreateMemo(9,42,439,493,"\1-ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn",false,wnd2)
playerList = guiCreateGridList(9, 225, 345, 174, false, wnd)
labelm = guiCreateLabel(211, 397, 142, 15, "LoginPanel#ByMA[S]RIY", false, wnd)
guiSetFont(labelm, "default-bold-small")

 

Link to comment

انتو م فهمتوني

انا مسوي كود لما الاعب يدخل

يفتح له اللوحه

الكود ذا انا مسويه

ومتاكد انو صح

لاكن  المشكله في اكواد اللوحه نفسها اول

م ادخل يفتح لي لوحه لاكن فيها إيديت بوكس واحده فقط واقي الاشياء مو موجوده

الي هيه الزراير واليبل وذي الاشياء

فهمتوني

الغلط في كود اللوحه نفسو ناقصه شئ

Link to comment

لوحتك ملخبطه انصحك سوي لوحه جديده
 

wnd = guiCreateWindow(218, 135, 363, 422, "", false)
guiSetVisible(wnd,false)
wnd2 = guiCreateWindow(166,53,458,544,"قوانين السرفر",false)
guiSetVisible(wnd2,false)
user = guiCreateEdit(92, 39, 183, 27, "", false, wnd)
GUIEditor_Edit[1] = guiCreateEdit(144,-140,5,5,"",false,wnd)
pass = guiCreateEdit(92, 76, 183, 27, "", false, wnd)
GUIEditor_Edit[2] = guiCreateEdit(144,-139,5,5,"",false,wnd)
GUIEditor.label[2] = guiCreateLabel(26, 46, 76, 20, "Username :", false, wnd)
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.label[3] = guiCreateLabel(26, 79, 76, 20, "Password :", false, wnd)
guiSetFont(GUIEditor.label[3], "default-bold-small")
log = guiCreateButton(187, 127, 88, 38, "Login", false, wnd)
guiSetProperty(log, "NormalTextColour", "FFAAAAAA")
reg = guiCreateButton(92, 127, 88, 38, "Register", false, wnd)
guiSetProperty(reg, "NormalTextColour", "FFAAAAAA")
gue = guiCreateButton(92, 169, 182, 27, "Guest", false, wnd)
guiSetProperty(gue, "NormalTextColour", "FFAAAAAA")
auto = guiCreateCheckBox(92, 111, 180, 16, "LoginAuto", true, false, wnd)
rul = guiCreateButton(102, 202, 165, 18, "Rules", false, wnd)
guiSetProperty(rul, "NormalTextColour", "FFAAAAAA")
close2 = guiCreateButton(427,19,13,12,"x",false,wnd)
GUIEditor_Memo[1] = guiCreateMemo(9,42,439,493,"\1-ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn",false,wnd2)
playerList = guiCreateGridList(9, 225, 345, 174, false, wnd)
labelm = guiCreateLabel(211, 397, 142, 15, "LoginPanel#ByMA[S]RIY", false, wnd)
guiSetFont(labelm, "default-bold-small")

 

Link to comment
50 minutes ago, Kara said:

لوحتك ملخبطه انصحك سوي لوحه جديده
 


wnd = guiCreateWindow(218, 135, 363, 422, "", false)
guiSetVisible(wnd,false)
wnd2 = guiCreateWindow(166,53,458,544,"قوانين السرفر",false)
guiSetVisible(wnd2,false)
user = guiCreateEdit(92, 39, 183, 27, "", false, wnd)
GUIEditor_Edit[1] = guiCreateEdit(144,-140,5,5,"",false,wnd)
pass = guiCreateEdit(92, 76, 183, 27, "", false, wnd)
GUIEditor_Edit[2] = guiCreateEdit(144,-139,5,5,"",false,wnd)
GUIEditor.label[2] = guiCreateLabel(26, 46, 76, 20, "Username :", false, wnd)
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.label[3] = guiCreateLabel(26, 79, 76, 20, "Password :", false, wnd)
guiSetFont(GUIEditor.label[3], "default-bold-small")
log = guiCreateButton(187, 127, 88, 38, "Login", false, wnd)
guiSetProperty(log, "NormalTextColour", "FFAAAAAA")
reg = guiCreateButton(92, 127, 88, 38, "Register", false, wnd)
guiSetProperty(reg, "NormalTextColour", "FFAAAAAA")
gue = guiCreateButton(92, 169, 182, 27, "Guest", false, wnd)
guiSetProperty(gue, "NormalTextColour", "FFAAAAAA")
auto = guiCreateCheckBox(92, 111, 180, 16, "LoginAuto", true, false, wnd)
rul = guiCreateButton(102, 202, 165, 18, "Rules", false, wnd)
guiSetProperty(rul, "NormalTextColour", "FFAAAAAA")
close2 = guiCreateButton(427,19,13,12,"x",false,wnd)
GUIEditor_Memo[1] = guiCreateMemo(9,42,439,493,"\1-ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn",false,wnd2)
playerList = guiCreateGridList(9, 225, 345, 174, false, wnd)
labelm = guiCreateLabel(211, 397, 142, 15, "LoginPanel#ByMA[S]RIY", false, wnd)
guiSetFont(labelm, "default-bold-small")

 

انا لسا مسويها

طيب احد يجربها ويصلح هو الخطا

Link to comment
1 hour ago, #_iMr.[E]coo said:

إذا تسوي شيءبين [ ] 

إعرف انه لازم تسوي جدول , مثال


local aMsgTable = { } ;



addCommandHandler ( 'outputmsg' , 
	function ( )
		local aMsgTable[1] = 'هلا بيكم'
		outputChatBox ( aMsgTable[1] , root )
	end 
)

 

اصلن ماينفع تحط لوكال على الجدول اثناء الاضافه او الاستخدام

Link to comment
3 hours ago, MARIY said:

..

 

#

؟

جرب

GUIEditor = {
    edit = {},
    button = {},
    window = {},
    label = {},
    memo = {}
}


wnd = guiCreateWindow(218, 135, 363, 422, "", false)

wnd2 = guiCreateWindow(166,53,458,544,"قوانين السرفر",false)
guiSetVisible(wnd2,false)
user = guiCreateEdit(92, 39, 183, 27, "", false, wnd)
GUIEditor.edit[1] = guiCreateEdit(144,-140,5,5,"",false,user)
pass = guiCreateEdit(92, 76, 183, 27, "", false, wnd)
GUIEditor.edit[2] = guiCreateEdit(144,-139,5,5,"",false,pass)
GUIEditor.label[2] = guiCreateLabel(26, 46, 76, 20, "Username :", false, wnd)
guiSetFont(GUIEditor.label[2], "default-bold-small")
GUIEditor.label[3] = guiCreateLabel(26, 79, 76, 20, "Password :", false, wnd)
guiSetFont(GUIEditor.label[3], "default-bold-small")
log = guiCreateButton(187, 127, 88, 38, "Login", false, wnd)
guiSetProperty(log, "NormalTextColour", "FFAAAAAA")
reg = guiCreateButton(92, 127, 88, 38, "Register", false, wnd)
guiSetProperty(reg, "NormalTextColour", "FFAAAAAA")
gue = guiCreateButton(92, 169, 182, 27, "Guest", false, wnd)
guiSetProperty(gue, "NormalTextColour", "FFAAAAAA")
auto = guiCreateCheckBox(92, 111, 180, 16, "LoginAuto", true, false, wnd)
rul = guiCreateButton(102, 202, 165, 18, "Rules", false, wnd)
guiSetProperty(rul, "NormalTextColour", "FFAAAAAA")
close2 = guiCreateButton(427,19,13,12,"x",false,wnd2)
GUIEditor.memo[1] = guiCreateMemo(9,42,439,493,"\1-ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn",false,wnd2)
playerList = guiCreateGridList(9, 225, 345, 174, false, wnd)
labelm = guiCreateLabel(211, 397, 142, 15, "LoginPanel#ByMA[S]RIY", false, wnd)
guiSetFont(labelm, "default-bold-small")

 

Link to comment
3 hours ago, A7MEDENO said:

جرب


GUIEditor = {    edit = {},    button = {},    window = {},    label = {},    memo = {}}wnd = guiCreateWindow(218, 135, 363, 422, "", false)wnd2 = guiCreateWindow(166,53,458,544,"قوانين السرفر",false)guiSetVisible(wnd2,false)user = guiCreateEdit(92, 39, 183, 27, "", false, wnd)GUIEditor.edit[1] = guiCreateEdit(144,-140,5,5,"",false,user)pass = guiCreateEdit(92, 76, 183, 27, "", false, wnd)GUIEditor.edit[2] = guiCreateEdit(144,-139,5,5,"",false,pass)GUIEditor.label[2] = guiCreateLabel(26, 46, 76, 20, "Username :", false, wnd)guiSetFont(GUIEditor.label[2], "default-bold-small")GUIEditor.label[3] = guiCreateLabel(26, 79, 76, 20, "Password :", false, wnd)guiSetFont(GUIEditor.label[3], "default-bold-small")log = guiCreateButton(187, 127, 88, 38, "Login", false, wnd)guiSetProperty(log, "NormalTextColour", "FFAAAAAA")reg = guiCreateButton(92, 127, 88, 38, "Register", false, wnd)guiSetProperty(reg, "NormalTextColour", "FFAAAAAA")gue = guiCreateButton(92, 169, 182, 27, "Guest", false, wnd)guiSetProperty(gue, "NormalTextColour", "FFAAAAAA")auto = guiCreateCheckBox(92, 111, 180, 16, "LoginAuto", true, false, wnd)rul = guiCreateButton(102, 202, 165, 18, "Rules", false, wnd)guiSetProperty(rul, "NormalTextColour", "FFAAAAAA")close2 = guiCreateButton(427,19,13,12,"x",false,wnd2)GUIEditor.memo[1] = guiCreateMemo(9,42,439,493,"\1-ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffn",false,wnd2)playerList = guiCreateGridList(9, 225, 345, 174, false, wnd)labelm = guiCreateLabel(211, 397, 142, 15, "LoginPanel#ByMA[S]RIY", false, wnd)guiSetFont(labelm, "default-bold-small")

 

مدري شو وضعك

ززايد 3 جداول عالفاضي 

Link to comment
Just now, #_iMr.[E]coo said:

مدري شو وضعك

ززايد 3 جداول عالفاضي 

 

1 minute ago, #_iMr.[E]coo said:

مدري شو وضعك

ززايد 3 جداول عالفاضي 

زايد جدولين بس

ولو المهم المود اشتغل

Link to comment
Just now, #_iMr.[E]coo said:

زايد 3 ، اصلا انت ما تعرف حل المشكلة 

وآضح

 

1 minute ago, #_iMr.[E]coo said:

زايد 3 ، اصلا انت ما تعرف حل المشكلة 

وآضح

GUIEditor = {
    edit = {},
    button = {},
    window = {},
    label = {},
    memo = {}
}

GUIEditor.memo[1]
GUIEditor.edit[2]
GUIEditor.label[2]

+ انا جربته واشتغل

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