-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
سلام عليكم ابي اسوي خاصيه للكونسل فقط لازم يكون معه سياره يجي السرينه البوليس في العربيه Police والسلام عليكم للكونسل فقط
-
صح كدا؟ addEventHandler("onClientGUIClick",root, function () if ( source == X ) then guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor.button[1]) then local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) if ( guiGetText ( editname) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then triggerServerEvent("AddMe",localPlayer) end end end ) addEvent("AddToGrid",true) addEventHandler("AddToGrid",root, function ( ) local Row = guiGridListAddRow ( gridlist ) local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) guiGridListSetItemText ( gridlist , Row ,1 ,guiGetText(editname) , false , false ) guiGridListSetItemText ( gridlist , Row , 2 , text , false , false ) guiGridListSetItemText ( gridlist , Row , 3 , guiGetText(GUIEditor.edit[1]) , false , false ) end ) Server - addEvent("AddMe",true) addEventHandler("AddMe",root, function () triggerClientEvent(source,"AddToGrid",source) end )
-
انا اقول الكود ذا صح ولا خطا وش لازمه الدي بق
-
كذا يعني addEventHandler("onClientGUIClick",root, function () if ( source == X ) then guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor.button[1]) then local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) if ( guiGetText ( editname) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then triggerServerEvent("AddMe",localPlayer) end end end ) addEvent("AddToGrid",true) addEventHandler("AddToGrid",root, function ( ) local Row = guiGridListAddRow ( gridlist ) local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) guiGridListSetItemText ( gridlist , Row ,1 ,guiGetText(editname) , false , false ) guiGridListSetItemText ( gridlist , Row , 2 , text , false , false ) guiGridListSetItemText ( gridlist , Row , 3 , guiGetText(GUIEditor.edit[1]) , false , false ) end ) Sercer-- addEvent("AddMe",true) addEventHandler("AddMe",root, function () triggerClientEvent(source,"AddToGrid",source) end )
-
طيب كيف هعمل guiGridListSetItemText سرفر ؟
-
addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,guiGetText(editname),false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,guiGetText(GUIEditor.edit[1]),false,false) end end end ) الكود ذا لين يكتب في الايديت ال3 يجي في القريد لست دخلت صحبي بالسرفر انا كتبت في ال3 ايديت وضعط علي ال button ججا في القريد لست ولما صحبي كتب م يجي في القريد
-
سلام عليكم انا عامل لين يكتب في ال3 ايديت يجي الكلام الجا في القريد لست طلعت ودخلت ما لقتها محفوظه .. محاولتي م ظبت= كلنت : addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,Column1,guiGetText(editname),false,false) guiGridListSetItemText (gridlist,row,Column2,guiGetText(edit),false,false) guiGridListSetItemText (gridlist,row,Column3,guiGetText(GUIEditor.edit[1]),false,false) triggerServerEvent("save",localPlayer,Column1,Column2,Column3) end end end ) addEvent("save",true) addEventHandler("save",root,function (Column1,Column2,Column3) local result = executeSQLQuery ( "SELECT * FROM `Save_Columns` WHERE `serial` = ?", getPlayerSerial (source) ) executeSQLQuery("INSERT INTO Save_Columns(serial,Column1,Column2,Column3) VALUES(?,?,?,?)",getPlayerSerial(source),Column1,Column2,Column3) triggerClientEvent (source, "Get:Columns",source,result) end)
-
سلام عليكم جيت لما حد يسجل دخوله يجي في التوب بار شات *[RentSysteam]: Adham has loggend addEventHandler("onPlayerLogin",root, function () exports.topbarchat.sendClientMessage("#ffff00*[RentSysteam]: "..getPlayerName(source).. " Has logged in | قام بتسجيل دخوله ", root, 255, 0, 0, true) end ) م اشتغل
-
خخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخ من السارق !!!!!!! انت عبيط ولا وش انا لعبه فقط ما معي اميلات غير كان معي اميل اسمه #Untied و Sylnce قفلتهم وش التقول عليهم ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
-
انا عرفت اعمل اذا كتب في ال3 ايديت يروح للقريد لست انا ابي اعمل الكومب بوكس معاهم الهوا حدوو يجي في اللست addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) elseif ( source == GUIEditor.button[1]) then if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then local row = guiGridListAddRow ( GRID) guiGridListSetItemText (GRID,row,1,guiGetText(editname),false,false) guiGridListSetItemText (GRID,row,2,guiGetText(GUIEditor.edit[2]),false,false) guiGridListSetItemText (GRID,row,3,guiGetText(GUIEditor.edit[1]),false,false) end end end )
-
صح كدا؟ addEventHandler("onClientGUIComboBoxAccepted",root, function() if ( source == combox ) then local item = guiComboBoxGetSelected(combox) local text = guiComboBoxGetItemText(combox, item) guiSetVisible(edit,true) end end )
-
انا عامل كومب بوكس و حاطط في اسم ادهم ابي لما حد يحدد اسم ادهم يجي له ايديت في الوحه بس ما موجده من الاول غير لما يحدد فقط
-
سلام عليكم انا عامل كومب بوكس انا عامل واحد اسمها ادهم ابي لما يحدد عليها يطلع له ايديت و لابل
-
شالخطا هنا ؟ addEventHandler("onClientGUIClick",root, function () if ( source == grid ) then local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) local text = guiGridListGetItemText(GUIEditor.gridlist[1],sel,1) local player = getPlayerFromName(text) if ( player ) then guiSetText(GUIEditor_Label[1],"Name: " .. guiGetText(editcod)) end end end )
-
شو الخطا هنا انا ابي لما يكتب اشيا في الايديت ويحدد علي guiComboBoxGetSelected وضعط علي ال button الكلام يجي في القريد لست بس لازم يكون كاتب في ال2 ايدت ومجدد guiComboBoxGetSelected addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then if ( guiGetText ( GUIEditor.edit[1] ) and ( GUIEditor.edit[3] ) ~= '' ) then local item = guiComboBoxGetSelected ( com ) local row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],row,1,text,false,false) guiGridListSetItemText (GUIEditor.gridlist[1],row,2,guiGetText(GUIEditor.edit[1]),false,false) guiGridListSetItemText (GUIEditor.gridlist[1],row,3,guiGetText(GUIEditor.edit[1]),false,false) end end end )