-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
الكود حق ابو خلف اشتغل ويجي تمام هل فيه خطأ شباب ؟ ونا ابيه يجي للاعب الكتب بالايديت وحدد كود بو خلف بيجي للكل ولا ؟
-
طيب تقدر تعدلهولي انت اذا فاضي ابي اسوي لما يكتب باللايديت ويحدد كومب بوكس ويكتب في الميمو يجي الكلام بالقريد لست اول راو الكتبو بالايديت والتاني الكومب بوكس والتالت الميمو ويتحفظ
-
هكذا Soking ? executeSQLQuery( ' CREATE TABLE IF NOT EXISTS `RentSystem` (text,CardType,Adham) ' ) addEvent ( "Handler", true ) addEventHandler ( "Handler", root, function ( ) local Reaslut = executeSQLQuery( ' SELECT * FROM `RentSystem` ') if ( type(Reaslut) == "table" and #Reaslut == 0 or notReaslut ) then triggerClientEvent ( source,"AddList", source ) end end ) -- Client addEventHandler ( "onClientGUIClick" , root , function ( ) if ( source == Send ) then triggerServerEvent ( "Handler" , localPlayer , guiGetText ( Edit1 ) , guiGetText ( Memo ) , guiComboBoxGetItemText(ComBox ,guiCheckBoxGetSelected(ComBox)) ); end end ) addEvent( 'AddList', true ) addEventHandler( 'AddList', root, function(Table) guiGridListClear(GUIEditor.gridlist[3]) for i, v in ipairs ( Table ) do local activatedONE = guiGridListAddRow(GUIEditor.gridlist[3]) guiGridListSetItemText ( GUIEditor.gridlist[3] , row , 1 , tostring ( v["text"] ) , false , false ) guiGridListSetItemText ( GUIEditor.gridlist[3] , row , 2 , tostring ( v["CardType"] ) , false , false ) guiGridListSetItemText ( GUIEditor.gridlist[3] , row , 3 , tostring ( v["Adham"] ) , false , false ) end end );
-
المشكله مب في كل الكود اللوحة !! المشكله بعتها لك فوق في الصوره التيجي لي في الدي بق لا مب معدل علي شي http://imgur.com/a/Yb4LA
-
نفس الدي بقي Soking مستر واي فاي جربته ونفس الدي بق
-
نفس الدي بق البعتهولك فوق لين اضعط علي زرار Send يجي لي دي بق البعته لك فوق http://imgur.com/a/Yb4LA
-
م ظبت دي بق http://imgur.com/a/Yb4LAhttp://imgur.com/a/Yb4LA
-
وش تقول انت ؟ عطيت لك الدي بق فوق Database query failed: table RentSysteam has no columns named text
-
Database query failed: table RentSysteam has no columns named text
-
م يجي في القريد لست كمان .. Database query failed: table RentSysteam has no columns named text
-
Default م يجي خطأ كودك بالدي بق ولانها م يجي بالقريد لست الكلام مستر واي فاي كودك يجي خطأ بالسجل
-
سلام عليكم انا ابي اسوي لما يحدد كومب بوكس ويكتب في ايديت ويكتب في ميمو ويدوس علي " زر " يجي الكلام بالقريد لست ويتحفظ الكود م ظبت ك -- سرفر executeSQLQuery( ' CREATE TABLE IF NOT EXISTS `RentSystem` (text,CardType,Adham) ' ) addEvent('Handler', true ) addEventHandler('Handler' , getRootElement ( ) , function ( text, CardType, Adham ) Value = executeSQLQuery( 'SELECT * FROM RentSystem' ) if ( #Value ~= 0 ) then triggerClientEvent ( source , 'lol' , source , Value, text, CardType, Adham ) end end ) -- كلنت addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == Send ) then local Text = guiGetText ( Edit1 ) local CardType = guiComboBoxGetItemText(com, guiComboBoxGetSelected(com)) local Adham = guiGetText ( memo ) if Text == "" or CardType == "" or Adham == "" then return end triggerServerEvent ( "Handler", localPlayer, Text, Adham, CardType ) end end ) addEvent ( "lol", true ) addEventHandler ( "lol", root, function ( table ) guiGridListClear(GridList_) for i, v in ipairs (table) do local aRow = guiGridListAddRow( GUIEditor.gridlist[2] ) guiGridListSetItemText(GUIEditor.gridlist[2],aRow, 1, table[i].text,false,false) guiGridListSetItemText(GUIEditor.gridlist[2],aRow, 1, table[i].CardType,false,false) guiGridListSetItemText(GUIEditor.gridlist[2],aRow, 1, table[i].Adham,false,false) end end )
-
طيب م صارت تبعت الرسالة للقريد لست لما اتب بالايديت م تيجي شي
-
طيب كذا م زظبت لما ارسل رسالة م يجي في القريد لست شي addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1]), guiCheckBoxGetSelected(GUIEditor.checkbox[1]), getRealTime()) -- عند ارسال الرسالة end end,false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text, check, time) local hour = time.hour local minute = time.minute local second = time.second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."] ["..check and "Support" or "Player".."] "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 255, check and 136 or 0, check and 0 or 255) end) ونا ابي لما يحدد شيك بوكس بلاير او سبورت يجي في القريد لست اسم الشيك بوكس الحدده والرسالة واسم الاعب و الوقت
