-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
الوحه شغاله تمام وبتفتح المشكله مش بيبعت لما حطيط الكود كدا addEvent("support",true) addEventHandler("support",root,function (text) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then triggerClientEvent("sendmessage2",source,getPlayerName(source),text) else triggerClientEvent("sendmessage2",source,getPlayerName(source),text) end end) يبعت في المحلي فقط
-
م يبعت في القريد كلنت addEventHandler("onClientGUIClick",GUIEditor.button[2],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[2], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[2], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[2]) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."] [support] "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 0, 255, 0, 255) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."] [Player] "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 255, 136, 0) end end) سرفر addEvent("support",true) addEventHandler("support",root, function ( text ) if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount (source) ),aclGetGroup ( "Support") ) ) then triggerClientEvent ( root,"sendmessage2",root,getPlayerName ( source ),text ) end end )
-
تمام كذا؟ addEvent("support",true) addEventHandler("support",root,function (text) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then triggerClientEvent("sendmessage2",root,getPlayerName(source) , text end end)
-
addEvent("support",true) addEventHandler("support",root,function (text) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then triggerClientEvent("sendmessage2",root,getPlayerName(sourve,text) end end) كذا
-
سلام عليكم انا مسوي سبورت سيستم و في سرفر مجاني شغاله تمام لاكن جربتها في سرفر عالمي م يبعت رساله لاكن مجاني بعت وتمام الكود addEvent("refresh",true) addEventHandler("refresh",root,function () for k,v in ipairs (getElementsByType("player")) do if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(v)),aclGetGroup("Support")) ) then triggerClientEvent("online",source,getPlayerName(v)) end end end) addEvent("support",true) addEventHandler("support",root,function (text) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then triggerClientEvent("sendmessage2",source,getPlayerName(source),text) else triggerClientEvent("sendmessage2",source,getPlayerName(source),text) end end) addEventHandler("onClientGUIClick",GUIEditor.button[2],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[2], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[2], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[2]) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."] [support] "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 0, 255, 0, 255) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."] [Player] "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 255, 136, 0) end end)
-
اصك نفسي ميوت واتكلم برده
-
addEventHandler ("onClientGUIClick",root, function () if ( source == un ) then local plr = guiGridListGetSelectedItem (grid) if plr ~= -1 then local theName = guiGridListGetItemText (grid,plr,1) local thePlr = getPlayerFromName (theName) triggerServerEvent ("UnMUTE",localPlayer,thePlr,theName) end end end )
-
سلام عليكم كود الميوت في سبورت سيستم لو حدد اسم من القريد لست وضعط علي زر يعطي الاعب ميوت ويحدد اسم ويضعط علي زر ينفك ميوته م شتغل الكود addEventHandler("onClientGUIClick",root,function () if (source == GUIEditor.button[2])then local gg = guiGridListAddRow(GUIEditor.gridlist[1]) if getElementData (localPlayer,"MUTED") then return guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,"You are muted.", false, false) end if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) end end end) addEventHandler ("onClientGUIClick",root, function () if ( source == Mute ) then local plr = guiGridListGetSelectedItem (grid) if plr ~= -1 then local theName = guiGridListGetItemText (grid,plr,1) local thePlr = getPlayerFromName (theName) triggerServerEvent ("MUTE",localPlayer,thePlr,theName) end end end ) v = {} addEvent ("MUTE",true) addEventHandler ("MUTE",root, function (plr,name) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then if not isTimer (v[plr]) and not getElementData(plr,"MUTED") then setElementData (plr,"MUTED",true) outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."] Successfuly muted.",source,232,240,14) v[plr] = setTimer (function () removeElementData (plr,"MUTED") outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."]Unmuted Successfuly ",plr,5,255,5) end,unmuteTime,1) else return outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."] is already muted.",source,232,240,14) end end end ) addEvent ("UnMUTE",true) addEventHandler ("UnMUTE",root, function (plr,name) if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Support")) ) then if getElementData(plr,"MUTED")==true then removeElementData (plr,"MUTED") outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."]Unmuted Successfuly ",plr,5,255,5) v[plr] = setTimer (function () removeElementData (plr,"MUTED") outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."]Unmuted Successfuly ",plr,5,255,5) end,unmuteTime,1) else return outputChatBox ("[support System]: ["..name:gsub("#%x%x%x%x%x%x","").."] is already Unmuted ",source,5,255,5) end end end ) مدري لقيت الكود من مستر اعتقد
-
سلام عليكم ورحمت الله وبركاتهه اليوم انا مسوي قريد لست في سريال الاعبين كلهم ابي لما يحدد سريال لاعب ..؟ ويضعط علي زر يتفعل له لوحه من حرف خ من اساسي الوحه مقفوله ولو حدد سريال وزر اخر تتحذف اللوحه . والسلام عليكم ورحمه الله معلومه : تتحذف وتتفعل علي السريال المتحدد فقط
-
local player = getLocalPlayer() function OpenWnd () if getPlayerSerial(player) == "Serial1" or getPlayerSerial(player) == "Serial2" or getPlayerSerial(player) == "Serial3" then if (guiGetVisible (wnd2) == true) then guiSetVisible (wnd2, false) showCursor (false) else guiSetVisible (wnd2, true) showCursor (true) end else outputChatBox("#ff0000Error: #ffffffYou are not have access to open this panel !!",0,255,255,true) end end addCommandHandler ( "open", OpenWnd )
-
تمام كدا addEvent( "RentSystem:onCreateNewOrder", true ) addEventHandler( "RentSystem:onCreateNewOrder", root, function (name,maill,card,text) local Plr = getPlayerName( source ) local Serial = getSerialPlayer( source ) triggerClientEvent("RentSystem:onAccept",root,name,maill,card,text,Plr,Serial) end ) addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then local item = guiComboBoxGetSelected ( com ) local text = guiComboBoxGetItemText ( com , item ) local name = guiGetText( editname ) local maill = guiGetText ( editmail ) local card = guiGetText ( editcard ) if ( name and maill and card and text ~="" ) then triggerServerEvent ( "RentSystem:onCreateNewOrder", root, name, maill, card, text ) guiSetEnabled ( GUIEditor.button[1], false ) outMsg("تم إرسال الرسالة",true) end end end ) addEvent ( "RentSystem:onAccept", true ) addEventHandler ( "RentSystem:onAccept", root, function (name,maill,card,text,Plr,Serial) local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,getPlayerName(source),false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,getPlayerSerial(source),false,false) end )
-
كدا؟ addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then local item = guiComboBoxGetSelected ( com ) local text = guiComboBoxGetItemText ( com , item ) local name = guiGetText( editname ) local maill = guiGetText ( editmail ) local card = guiGetText ( editcard ) if ( name and maill and card and text ~="" ) then triggerServerEvent ( "RentSystem:onCreateNewOrder", localPlayer, name, maill, card, text ) guiSetEnabled ( GUIEditor.button[1], false ) outMsg("تم إرسال الرسالة",true) end end end ) addEvent ( "RentSystem:onAccept", true ) addEventHandler ( "RentSystem:onAccept", root, function (name,maill,card,text) local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,Plr,false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,Serial,false,false) end ) addEvent( "RentSystem:onCreateNewOrder", true ) addEventHandler( "RentSystem:onCreateNewOrder", root, function (name,maill,card,text) local Plr = getPlayerName( source ) local Serial = getPlayerSerial( source ) triggerClientEvent("RentSystem:onAccept",root,name,maill,card,text) end )
-
طيب شغال تمام كلو بس لما حد بيبعت غيري بيجي اسمي وسريالي مب اسم البعت
-
انت عطيتني الكود ذا من قبل , انا عاوز اعمل لما يكتب في ال3 ايديت ويحدد من الكوم بوكس يجي في القريد لست يجي اول كوم رو يجي اسم الاعب مب اسم الاعب الكتبو في الايدت اسم الاعب الاصلي والتاني الحدده في الكوم والتالت سريالو
-
طيب .. وش اسوي انا لما ببعت في الايدت ويرسل للقريد يجي اسمي وصحبي لما يبعت يجي اسمي برده وسريالي مب اسمو البعت وسريال البعت !
-
addEventHandler("onClientGUIClick",root, function ( ) if source == GUIEditor.button[1] then local item = guiComboBoxGetSelected ( com ) local text = guiComboBoxGetItemText ( com , item ) local name = guiGetText( editname ) local maill = guiGetText ( editmail ) local card = guiGetText ( editcard ) if ( name and maill and card and text ~="" ) then triggerServerEvent ( "RentSystem:onCreateNewOrder", root, name, maill, card, text ) guiSetEnabled ( GUIEditor.button[1], false ) outMsg("تم إرسال الرسالة",true) end end end ) addEvent ( "RentSystem:onAccept", true ) addEventHandler ( "RentSystem:onAccept", root, function (name,maill,card,text) local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,getPlayerName(source),false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,getPlayerSerial(source),false,false) end ) addEvent( "RentSystem:onCreateNewOrder", true ) addEventHandler( "RentSystem:onCreateNewOrder", root, function (name,maill,card,text) triggerClientEvent("RentSystem:onAccept",root,name,maill,card,text) end )
-
يعني كدا بيجي سريال الاعب البعت؟
-
guiGridListGetColumnCount -- يجيب لك اعداد الكلومين
-
السلام عليكم ورحمه الله , انا ابي استفسر عن شي بسيط انا مسوي لين يكتب في الايدت الاول , والتاني , التالت , يجي اسمه في اول كلوم في الرو .. تمام كلو بيعبت ويجيلي في القريد لست بس في خطأ لما انا ابعت يجي اسمي تمام في القريد ولما صحبي يبعت يجي الطلب في القريد لاكن بيجي ب اسمي يعني اسمي بيجي مش اسم الاعب البعت وسريالي برده .. الكود : guiGridListSetItemText (gridlist,row,1,getPlayerName(localPlayer),false,false) guiGridListSetItemText (gridlist,row,3,getPlayerSerial(localPlayer),false,false)