MA[S]RIY Posted June 16, 2017 Share Posted June 16, 2017 السلام عليكم ذا كود لما الاعب يدخل السرفر يفتح له ذا اللوحه م بتفتح هيه ناقصها اكواد بس م اعرف وش هي الاكواد: 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
^iiEcoo'x_) Posted June 16, 2017 Share Posted June 16, 2017 'onClientPlayerJoin' guiSetVisible Link to comment
MA[S]RIY Posted June 16, 2017 Author Share Posted June 16, 2017 انتو م فهمتوني انا مسوي كود لما الاعب يدخل يفتح له اللوحه الكود ذا انا مسويه ومتاكد انو صح لاكن المشكله في اكواد اللوحه نفسها اول م ادخل يفتح لي لوحه لاكن فيها إيديت بوكس واحده فقط واقي الاشياء مو موجوده الي هيه الزراير واليبل وذي الاشياء فهمتوني الغلط في كود اللوحه نفسو ناقصه شئ Link to comment
Kara Posted June 16, 2017 Share Posted June 16, 2017 لوحتك ملخبطه انصحك سوي لوحه جديده 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
^iiEcoo'x_) Posted June 16, 2017 Share Posted June 16, 2017 إذا تسوي شيءبين [ ] إعرف انه لازم تسوي جدول , مثال local aMsgTable = { } ; addCommandHandler ( 'outputmsg' , function ( ) local aMsgTable[1] = 'هلا بيكم' outputChatBox ( aMsgTable[1] , root ) end ) Link to comment
MA[S]RIY Posted June 16, 2017 Author Share Posted June 16, 2017 On 16/06/2017 at 04:29, 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") Expand انا لسا مسويها طيب احد يجربها ويصلح هو الخطا Link to comment
#Soking Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 04:43, #_iMr.[E]coo said: إذا تسوي شيءبين [ ] إعرف انه لازم تسوي جدول , مثال local aMsgTable = { } ; addCommandHandler ( 'outputmsg' , function ( ) local aMsgTable[1] = 'هلا بيكم' outputChatBox ( aMsgTable[1] , root ) end ) Expand اصلن ماينفع تحط لوكال على الجدول اثناء الاضافه او الاستخدام Link to comment
MA[S]RIY Posted June 16, 2017 Author Share Posted June 16, 2017 On 16/06/2017 at 05:21, MA[S]RIY said: انا لسا مسويها طيب احد يجربها ويصلح هو الخطا Expand .. # ؟ Link to comment
+Source|> Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 11:09, MA[S]RIY said: .. # ؟ Expand جرب 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
MA[S]RIY Posted June 16, 2017 Author Share Posted June 16, 2017 شكرا اخي شكرا للجميع تسلمو Link to comment
^iiEcoo'x_) Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 14:45, 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") Expand مدري شو وضعك ززايد 3 جداول عالفاضي Link to comment
+Source|> Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 18:17, #_iMr.[E]coo said: مدري شو وضعك ززايد 3 جداول عالفاضي Expand On 16/06/2017 at 18:17, #_iMr.[E]coo said: مدري شو وضعك ززايد 3 جداول عالفاضي Expand زايد جدولين بس ولو المهم المود اشتغل Link to comment
^iiEcoo'x_) Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 18:18, A7MEDENO said: زايد جدولين بس ولو المهم المود اشتغل Expand زايد 3 ، اصلا انت ما تعرف حل المشكلة وآضح Link to comment
+Source|> Posted June 16, 2017 Share Posted June 16, 2017 On 16/06/2017 at 18:19, #_iMr.[E]coo said: زايد 3 ، اصلا انت ما تعرف حل المشكلة وآضح Expand On 16/06/2017 at 18:19, #_iMr.[E]coo said: زايد 3 ، اصلا انت ما تعرف حل المشكلة وآضح Expand GUIEditor = { edit = {}, button = {}, window = {}, label = {}, memo = {} } GUIEditor.memo[1] GUIEditor.edit[2] GUIEditor.label[2] + انا جربته واشتغل Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now