-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
طيب انا عاوز اليتمسح لما يضعط علي سند يتمسح الكلام الهوا كتبو addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1]), "" ) end end, false)
-
ما صارت اللوحة تفتح لما شلت الكود ذا guiSetText (GUIEditor.edit[1]), "" ) فتحت عادي + عاوز ذي اسمه يجي بدون اكواد guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name .. " : " .. Text , false, false)
-
addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name .. " : " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then outputChatBox("#ffff00 *[support-System] "..Name.." : #ffffff"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) برده لما ببعت رساله مش بيتحذف من الايديت
-
تمام انا عامل سبورت سيستم وعاوز لما يضعط عليها ويكبت باليديت ويبعت الرسالة عاوز الرساله تتمسح الهوا كتبها بالايدين
-
ما ظبت ولا تبعت اصلن [lua]addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name .. " : " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #00FF00"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) [/lua]
-
انا عامل سبورت سيستم اوك؟ الكود بيجي في ال cloum لاول الاسم والتاني الرسالة انا عاوز في كلوم واحد يجي الاسم والرساله انا حاولت اعملها وما ظبتت
-
سلام عليكم انا عملت سبورت سيستم وعامل واحد كلوم مفروض 2 كلوم اول واحد اسم والتاني الرساله انا عاوز يجي في الكلوم واحد فقط الكود اهو addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name, false, false) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,tostring(Text), false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #00FF00"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) عملته علي كلوم واحد ما عمل
-
ايه المشكله Groups = { "Console", "Admin", "support", } function OnPlayerACL ( player ) for _, v in ipairs ( Groups ) do local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( v ) ) then triggerClientEvent ( player, "Clear", player ) end end end كلنت addEventHandler ("onClientGUIClick",GUIEditor.button[1], function () if guiGetText (GUIEditor.edit[1]) == "/Clear" then return triggerServerEvent ("Clear",localPlayer,getPlayerName(localPlayer)) end --sendMessage code end) addEvent ("CLEAR",true) addEventHandler ("CLEAR",root, function (name) guiGridListClear (GUIEditor.gridlist[1]) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..name.." - Cleard Chat",false,false) guiGridListSetItemColor(GUIEditor.gridlist[1],rw, 1, 0, 227, 254, 255) end)
-
انا عامل كود مسح شات في القريد لست عاوز قروبات محدده تمسح الشات
-
المشكله addEventHandler("onClientGUIClick",GUIEditor.button[1],function () guiGetText(GUIEditor.edit[1])) if guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 and guiGridListGetItemText ( GUIEditor.gridlist[1] ) then guiSetEnabled (GUIEditor.button[1],false) setTimer(guiSetEnabled,1000,1,GUIEditor.button[1],true) end end end)
-
حلو انا معايا كل الكودات بس الطعام كيف اعمله؟ فكشن
-
سلام عليكم انا عامل قريد لست وضايف فيه اكل عاوز اليحدد علي واحد اكل يجيلو اكل ب2500 ج ولو معهوش فلوس يجيلو * You dont Have money بعدين عاوز لو محددش خاجه في القريد لست وداس علي ال button تختفي اللوحة
-
لاعطا سياره محدده بقريد لست مثال للوب Cars = { {'Monster',9000,580}, {'Frary',10000,570}, } # Client addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == btn ) then local Se = guiGridListGetSelectedItem( grid ) if Se and Se ~= -1 then local Money = guiGridListGetItemText ( grid, Se, 2 ) local iD = guiGridListGetItemData ( grid , Se , 1 ) triggerServerEvent ( "GiveVehicle",localPlayer , Money , iD ) end end end) #Server local table = { } addEvent("GiveVehicle" ,true) addEventHandler("GiveVehicle" ,root, function ( Money , id ) if isElement( table[ source ] ) then destroyElement ( table[ source] ) end local Money_ = getPlayerMoney ( source ) if Money_ >= tonumber ( Money ) then PosX , PosY , PosZ = getElementPosition ( source ) takePlayerMoney( source , tonumber ( Money ) ) table[ source ] = createVehicle( id , PosX , PosY , PosZ ) outputChatBox("text",source ,0,255,0,false) else outputChatBox("* ليس لديك المال الكافي للشراء",source ,255,0,0,false) end end ) ;
-
تمام بس بيمسح مرتين ورا بعض
-
حطا تحت الـ button نفسه guiSetProperty(Namebutton, "NormalTextColour", "FF0DF1E3") #ff0df1e3 سوي اي لون تبيه
-
عاوز كل المابات تيجي في القريد لست ؟