Jump to content

iMr.WiFi..!

Members
  • Posts

    2,382
  • Joined

  • Last visited

  • Days Won

    57

Everything posted by iMr.WiFi..!

  1. القسم غلط + تفضل : https://mega.co.nz/#!YddSyLDQ!UXz7jByq1xj30S0BMY42XVnyvZA5reMcoEfJARZrIvM
  2. addEventHandler('onClientGUIClick',root, function () if source == CheckBox and guiCheckBoxGetSelected(CheckBox) == true then local PlrName = getPlayerName(source) triggerServerEvent('allPlayers',localPlayer,PlrName) elseif source == CheckBox and guiCheckBoxGetSelected(CheckBox) == false then triggerServerEvent('allPlayers1',localPlayer) end end ) addEvent('Suppport',true) addEventHandler('Suppport',root, function ( PlrName ) local Roww = guiGridListAddRow(SupportList) guiGridListSetItemText(SupportList,Roww,1," "..PlrName.." ",false,false) end ) addEvent('Suppport2',true) addEventHandler('Suppport2',root, function ( ) guiGridListRemoveRow(SupportList,Roww) end ) addEvent('allPlayers',true) addEventHandler('allPlayers',root, function ( PlrName ) for i, v in ipairs ( getElementsByType( 'player' ) ) do triggerClientEvent(v,'Suppport',v,PlrName) end end ) addEvent('allPlayers1',true) addEventHandler('allPlayers1',root, function ( ) for i, v in ipairs ( getElementsByType( 'player' ) ) do triggerClientEvent(v,'Suppport2',v) end end )
  3. ^ -_________________- addEventHandler('onClientGUIClick',root, function () if source == CheckBox and guiCheckBoxGetSelected(CheckBox) == true then local PlrName = getPlayerName(source) triggerServerEvent('allPlayers',localPlayer,PlrName) end end ) addEvent('Suppport',true) addEventHandler('Suppport',root, function ( PlrName ) local Roww = guiGridListAddRow(SupportList) guiGridListSetItemText(SupportList,Roww,1," "..PlrName.." ",false,false) end ) addEvent('allPlayers',true) addEventHandler('allPlayers',root, function ( PlrName ) for i, v in ipairs ( getElementsByType( 'player' ) ) do triggerClientEvent(v,'Suppport',v,PlrName) end end )
  4. الطلب الاول guiCheckBoxGetSelected getPlayerName guiGridListAddRow guiGridListSetItemText للطلب ثاني -- فاهمك بس ماعرفت الفنكشنات ,
  5. وضح الطلب الاول الطلب ثاني عاوز تعطي ميوت لاحد ولا كيف ؟ ولا تخلي الكل ما يقدر يتكلم ؟
  6. بسيطة , -- Server groupAdmins = {"Console","Admin"} -- حط القروبات اللي تمسح و يكون البوتون عندها مفتوح function isPlayerAdmin( player ) local aPlayerAccount = getPlayerAccount( player ) if ( not aPlayerAccount or isGuestAccount( aPlayerAccount ) ) then return false end local aPlayerAccountName=getAccountName(aPlayerAccount) for _ , Group in ipairs ( groupAdmins ) do if isObjectInACLGroup("user."..aPlayerAccountName, aclGetGroup(Group)) then return true end end end addEvent ("Clear",true) addEventHandler ("Clear",root, function (name) if not isPlayerAdmin( source ) then return triggerClientEvent(source,"GoOut",source) end for i,k in ipairs (getElementsByType("player")) do triggerClientEvent (k,"CLEAR",k,name) end end) addEventHandler ("onClientGUIClick",root, function () if source == sendButton then if guiGetText (messageEdit) == "clr" then return triggerServerEvent ("Clear",localPlayer,getPlayerName(source)) end --sendMessage code end) addEvent ("GoOut",true) addEventHandler ("GoOut",root, function ( ) row = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],row,2,"You'r not Admin",false,false) end ) addEvent ("CLEAR",true) addEventHandler ("CLEAR",root, function (name) guiGridListClear (GUIEditor.gridlist[1]) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,2,"**CLEARED BY "..name.."**",false,false) end)
  7. -- Server groupAdmins = {"Console","Admin"} -- حط القروبات اللي تمسح و يكون البوتون عندها مفتوح function isPlayerAdmin( player ) local aPlayerAccount = getPlayerAccount( player ) if ( not aPlayerAccount or isGuestAccount( aPlayerAccount ) ) then return false end local aPlayerAccountName=getAccountName(aPlayerAccount) for _ , Group in ipairs ( groupAdmins ) do if isObjectInACLGroup("user."..aPlayerAccountName, aclGetGroup(Group)) then return true end end end addEvent ("Clear",true) addEventHandler ("Clear",root, function (name) if not isPlayerAdmin( source ) then return outputChatBox("'You'r Not Admin",source,255,0,0,false) end for i,k in ipairs (getElementsByType("player")) do triggerClientEvent (k,"CLEAR",k,name) end end) -- Client addEventHandler ("onClientGUIClick",root, function () if source == sendButton then if guiGetText (messageEdit) == "clr" then return triggerServerEvent ("Clear",localPlayer,getPlayerName(source)) 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,2,"**CLEARED BY "..name.."**",false,false) end)
  8. طيب جرب كذا , -- Client addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 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:gsub("#%x%x%x%x%x%x", "") .. " : " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then local text = guiGetText(GUIEditor.edit[1]) local name = getPlayerName(source) if text == "clr" then triggerServerEvent("clearChat", localPlayer,name) end end end end ) function clearChat(name) guiGridListClear(GridList) local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1," "..name.." Cleared Chat ", false, false) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 255, 0, 0) end addEvent("clearrows", true) addEventHandler("clearrows", root, clearChat)
  9. -- Server groupAdmins = {"Console","Admin"} -- حط القروبات اللي تمسح و يكون البوتون عندها مفتوح function isPlayerAdmin( player ) local aPlayerAccount = getPlayerAccount( player ) if ( not aPlayerAccount or isGuestAccount( aPlayerAccount ) ) then return false end local aPlayerAccountName=getAccountName(aPlayerAccount) for _ , Group in ipairs ( groupAdmins ) do if isObjectInACLGroup("user."..aPlayerAccountName, aclGetGroup(Group)) then return true end end end addEvent("clearChat",true) addEventHandler("clearChat",root, function (name) if not isPlayerAdmin(source) then return end triggerClientEvent(source,"clearrows",source,name) end )
  10. addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 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:gsub("#%x%x%x%x%x%x", "") .. " : " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then local text = guiGetText(GUIEditor.edit[1]) local name = getPlayerName(source) if text == "clr" then triggerServerEvent("clearChat", localPlayer,name) end end end end ) function clearChat(name) if guiGridListClear(GridList) then local row = guiGridListAddRow(GridList) guiGridListSetItemText(GridList, row, 1,name.." Cleared Chat ", false, false) guiGridListSetItemColor(GridList, row, 1, 255, 0, 0) end end addEvent("clearrows", true) addEventHandler("clearrows", root, clearChat) واطرح السيرفر
  11. اطرح الكلينت كامل
  12. مايحتاج تعرف اللوكال بلاير ,@ لانه لوكال بلاير هو سورس
  13. لعبة عدلت على كودي انا جربه شوف عدل على اسم الجريد ليست
  14. انت ما تحققت انه لاعب كونسل او ادمن ابد ’@, -- Server groupAdmins = {"Console","Admin"} -- حط القروبات اللي تمسح و يكون البوتون عندها مفتوح function isPlayerAdmin( player ) local aPlayerAccount = getPlayerAccount( player ) if ( not aPlayerAccount or isGuestAccount( aPlayerAccount ) ) then return false end local aPlayerAccountName=getAccountName(aPlayerAccount) for _ , Group in ipairs ( groupAdmins ) do if isObjectInACLGroup("user."..aPlayerAccountName, aclGetGroup(Group)) then return true end end end addEvent("clearChat",true) addEventHandler("clearChat",root, function (name) if not isPlayerAdmin(source) then return end triggerClientEvent(source,"clearrows",source,name) end ) -- Client addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then local text = guiGetText(GUIEditor.edit[1]) local name = getPlayerName(source) if text == "clr" then triggerServerEvent("clearChat", localPlayer,name) end end end end ) function clearChat(name) if guiGridListClear(GridList) then local row = guiGridListAddRow(GridList) local text = name:gsub("#%x%x%x%x%x%x","").." Cleared Chat " local t=guiGridListSetItemText(GridList, row, 1, text, false, false) guiGridListSetItemColor(GridList, row, 1, 255, 0, 0) end end addEvent("clearrows", true) addEventHandler("clearrows", root, clearChat)
  15. جرب if getElementData(source,"meat") ~= 0 then
  16. 'onClientGUIClick' getVehicleName guiGridListGetItemText guiGridListGetSelectedItem destroyElement 'onClientGUIClick' guiGridListGetSelectedItem setTimer guiSetEnabled
  17. MyBlip = createBlip ( 211.51495, 1812.03601, 20.85941, 32) Marker = createMarker ( 211.51495, 1812.03601, 20.85941, "cylinder",1,255,255,0, 50 ) -- احداثيات الماركر GUIEditor = { button = {}, window = {}, label = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 432) / 2, (screenH - 256) / 2, 432, 256, "نظام الانذار سيرفر ( لم يحدد )", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FEC1E4F6") guiSetVisible(GUIEditor.window[1],false) MyLabel = guiCreateLabel(224, 28, 204, 163, "لوحة الانذار الخاصة بسوات مصر\n\nفي حالة يوجد هجوم على المقر \n\nمن فضلك قم بالضغط على زر warning\n\nفي حالة لا يوجد هجوم اضغط على X\n\nاستمتع بوقت ودافع عن الشعب\n\n[ SWAT.EGYPT ]\nستحصل على مال اذا ساعدت الجيش", false, GUIEditor.window[1]) guiSetFont(MyLabel, "default-bold-small") guiLabelSetColor(MyLabel, 193, 228, 246) guiLabelSetHorizontalAlign(MyLabel, "center", false) guiLabelSetVerticalAlign(MyLabel, "center") GUIEditor.button[1] = guiCreateButton(10, 210, 188, 36, "[ play alarm ]", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FEC1E4F6") GUIEditor.button[2] = guiCreateButton(234, 210, 188, 36, "[ X ]", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FEC1E4F6") GUIEditor.label[1] = guiCreateLabel(14, 21, 180, 180, "", false, GUIEditor.window[1]) IMG = guiCreateStaticImage(14, 21, 180, 180, ":alarm/alarm.png", false, GUIEditor.window[1]) addEventHandler("onClientMarkerHit",Marker, function (player) if player ~= localPlayer then return end guiSetVisible ( GUIEditor.window[1] , true ) showCursor ( true ) end) addEventHandler("onClientGUIClick",root, function () if source == (GUIEditor.button[1]) then givePlayerMoney(100) for _, v in ipairs ( getElementsByType ( "player" ) ) do playSound("warning.mp3") guiSetEnabled(GUIEditor.button[1],false) setTimer(function () guiSetEnabled(GUIEditor.button[1],true) end, 120000, 0) end end if source == (GUIEditor.button[2]) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) end end) وين المساحة المحددة الي سويتها ؟
  18. بحل لك الي فهمته من اكوادك Marker = createMarker(602.177734375,868.09375,-42.9609375,"cylinder",2,0,0,0,0) skin1 = createPed(27,602.177734375,868.09375,-42.9609375,90) blip = createBlip(602.177734375,868.09375,-42.9609375,56) window = guiCreateWindow(250, 239, 307, 220, "وضيفة***", false) guiSetVisible (window, false ) edit = guiCreateEdit(82, 70, 150, 34, "", false, window) button = guiCreateButton(10, 174, 350, 34, "خروج", false, window) label = guiCreateLabel(82, 40, 155, 20, "كم عدد ايام السنةEntre", false, window) lblx = guiCreateLabel(140, 130, 155, 20, " ", false, window) addEventHandler("onClientMarkerHit",root, function () if source == Marker then guiSetVisible(window, true) showCursor(true) end end ) -- اتوقع انك تبي زي نظام بسول في الهروب انه يخمن الرقم function Guess ( button ) if button == "enter" then local getit = guiGetText(edit) if 365 < getit then outputChatBox('365 < *** ') elseif 365 > getit then outputChatBox('365 > *** ') elseif 365 == getit then outputChatBox('تم قبولك بالوضيفة') triggerServerEvent("TakeJob",localPlayer,skin) guiSetVisible ( window, false ) showCursor ( false ) end end end addEventHandler("onClientKey", root, Guess) addEventHandler('onClientGUIClick', root,function ( ) if source == button then guiSetVisible ( window, false ) showCursor ( false ) end end )
  19. تم تجديد الروابط تفضل http://www.up-00.com/?inCp
  20. -- Client 'onClientGUIClick' guiGridListGetItemText guiGridListGetSelectedItem triggerServerEvent -- Server createVehicle -- للطلب الثاني destroyElement
  21. طيب اطرح كود صنع الجريد ليست @’
  22. اطرح الاكواد كاملة
  23. هذا مو مكان طلبات هذا مكان فنشكنات مفيدة اطلب في القسم
  24. https://forum.multitheftauto.com/viewtopic.php?f=161&t=97925 ذذ المود شوفة وحملة + يساعد في ترقية ,
×
×
  • Create New...