Mr.OppS

Members
  • Content count

    136
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Mr.OppS

  • Rank
    Poot-butt

Details

  • Gang
    SpY
  1. ضـفـت الأكود ! بس ماضبطط الوحة تفتح لكل ! و هذا الامر مايضبط
  2. -- code ما اعرف احط الكود حاولت ولكن فشلت
  3. اى صح اتخبرطو ههههههههههههه , آسف تجربة ضض -سيرفر addEvent("playIT",true) addEventHandler("playIT",root,function(who,what) for k,v in ipairs ( getElementsByType("player") ) do if getPlayerTeam(v) == getPlayerTeam(who) then triggerClientEvent(v,"playITc",v,who,what) end end end ) local allowedAccountSerials = { { "9C9F3B55D9D7BB7135FF274D3BF444E4" }, { "2C9F3B55D9D7BB7135FF274D3BF444E4" }, } addEventHandler("onPlayerLogin", root, function(_, account) local playerSerial, allowedSerials = getPlayerSerial(source), allowedAccountSerials[(serial)] or "" for i = 1, #allowedSerials do if allowedSerials[i] == playerSerial then return end end outputChatBox("Not Allow",root,0,0,0, true) end ) -كلينت --======== Settings ========-- theKey = "M" -- The key will toggle radio texts = { -- the texts of the radio sounds [1] = "Go Go Go !", [2] = "Need Backup !", [3] = "Cover Me !", [4] = "Follow Me !", [5] = "In Postition !", [6] = "Need Assistance !", [7] = "Sector Clear !", [8] = "Stick Together !", [9] = "Negative !", } RadioText = "|| Radio - Press Number:" -- first label text FloodTime = 20 --- how much is flood time [ in seconds ] c11,c12,c13 = 255,255,0 -- first color [ yellow ] c21,c22,c23 = 0,255,255 -- second color [ green ] --======== Settings ========-- GUIEditor_Label = {} GUIEditor_Label[1] = guiCreateLabel(19,193-5,235,16,RadioText,false) GUIEditor_Label[2] = guiCreateLabel(19,193+20,235,16,"1 : Go GO Go",false) GUIEditor_Label[3] = guiCreateLabel(19,193+20+20,235,16,"2 : Go GO Go",false) GUIEditor_Label[4] = guiCreateLabel(19,193+20+20+20,235,16,"3 : Go GO Go",false) GUIEditor_Label[5] = guiCreateLabel(19,193+20+20+20+20,235,16,"4 : Go GO Go",false) GUIEditor_Label[6] = guiCreateLabel(19,193+20+20+20+20+20,235,16,"5 : Go GO Go",false) GUIEditor_Label[7] = guiCreateLabel(19,193+20+20+20+20+20+20,235,16,"6 : Go GO Go",false) GUIEditor_Label[8] = guiCreateLabel(19,193+20+20+20+20+20+20+20,235,16,"7 : Go GO Go",false) GUIEditor_Label[9] = guiCreateLabel(19,193+20+20+20+20+20+20+20+20,235,16,"8 : Go GO Go",false) GUIEditor_Label[10] = guiCreateLabel(19,193+20+20+20+20+20+20+20+20+20,235,16,"9 : Go GO Go",false) for k,v in ipairs (GUIEditor_Label) do guiSetFont(v,"default-bold-small") end function bind() can = true for i,v in ipairs ( GUIEditor_Label ) do for k,m in ipairs ( texts ) do if k == i then guiSetText(GUIEditor_Label[i+1],""..k.." : "..m.."") end end guiSetVisible(v,false) guiLabelSetColor(v,0,255,0) bindKey(tostring(theKey),"down",function() if guiGetVisible(v) == true then guiSetVisible(v,false) unbindKey(""..i.."","down",function() guiLabelSetColor(GUIEditor_Label[i+1],c11,c12,c13) end ) unbindKey(""..i.."","up",function() guiLabelSetColor(GUIEditor_Label[i+1],c21,c22,c23) end ) else guiSetVisible(v,true) bindKey(""..i.."","down",function() if can then can = false setTimer(function() can = true end,FloodTime * 1000 , 1 ) guiLabelSetColor(GUIEditor_Label[i+1],c11,c12,c13) triggerServerEvent("playIT",getLocalPlayer(),getLocalPlayer(),i) end end ) bindKey(""..i.."","up",function() guiLabelSetColor(GUIEditor_Label[i+1],0,255,0) end ) end end ) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),bind) addEvent("playITc",true) addEventHandler("playITc",root,function(who,what) outputChatBox("[RADIO] "..getPlayerName(who).." : "..texts[what].."",c21,c22,c23,true) playSound(""..what..".mp3") end )
  4. السلام عليكم كيف الحال؟ مود الراديو حق العقرب لتشغيل المود اضغط حرف ' ة ' ض ,, المود يفتح للكل !! أريد اسوى اضافة واخلى المود فقط يظهر على 2 سريال -سيرفر --======== Settings ========-- theKey = "M" -- The key will toggle radio texts = { -- the texts of the radio sounds [1] = "Go Go Go !", [2] = "Need Backup !", [3] = "Cover Me !", [4] = "Follow Me !", [5] = "In Postition !", [6] = "Need Assistance !", [7] = "Sector Clear !", [8] = "Stick Together !", [9] = "Negative !", } RadioText = "|| Radio - Press Number:" -- first label text FloodTime = 20 --- how much is flood time [ in seconds ] c11,c12,c13 = 255,255,0 -- first color [ yellow ] c21,c22,c23 = 0,255,255 -- second color [ green ] --======== Settings ========-- GUIEditor_Label = {} GUIEditor_Label[1] = guiCreateLabel(19,193-5,235,16,RadioText,false) GUIEditor_Label[2] = guiCreateLabel(19,193+20,235,16,"1 : Go GO Go",false) GUIEditor_Label[3] = guiCreateLabel(19,193+20+20,235,16,"2 : Go GO Go",false) GUIEditor_Label[4] = guiCreateLabel(19,193+20+20+20,235,16,"3 : Go GO Go",false) GUIEditor_Label[5] = guiCreateLabel(19,193+20+20+20+20,235,16,"4 : Go GO Go",false) GUIEditor_Label[6] = guiCreateLabel(19,193+20+20+20+20+20,235,16,"5 : Go GO Go",false) GUIEditor_Label[7] = guiCreateLabel(19,193+20+20+20+20+20+20,235,16,"6 : Go GO Go",false) GUIEditor_Label[8] = guiCreateLabel(19,193+20+20+20+20+20+20+20,235,16,"7 : Go GO Go",false) GUIEditor_Label[9] = guiCreateLabel(19,193+20+20+20+20+20+20+20+20,235,16,"8 : Go GO Go",false) GUIEditor_Label[10] = guiCreateLabel(19,193+20+20+20+20+20+20+20+20+20,235,16,"9 : Go GO Go",false) for k,v in ipairs (GUIEditor_Label) do guiSetFont(v,"default-bold-small") end function bind() can = true for i,v in ipairs ( GUIEditor_Label ) do for k,m in ipairs ( texts ) do if k == i then guiSetText(GUIEditor_Label[i+1],""..k.." : "..m.."") end end guiSetVisible(v,false) guiLabelSetColor(v,0,255,0) bindKey(tostring(theKey),"down",function() if guiGetVisible(v) == true then guiSetVisible(v,false) unbindKey(""..i.."","down",function() guiLabelSetColor(GUIEditor_Label[i+1],c11,c12,c13) end ) unbindKey(""..i.."","up",function() guiLabelSetColor(GUIEditor_Label[i+1],c21,c22,c23) end ) else guiSetVisible(v,true) bindKey(""..i.."","down",function() if can then can = false setTimer(function() can = true end,FloodTime * 1000 , 1 ) guiLabelSetColor(GUIEditor_Label[i+1],c11,c12,c13) triggerServerEvent("playIT",getLocalPlayer(),getLocalPlayer(),i) end end ) bindKey(""..i.."","up",function() guiLabelSetColor(GUIEditor_Label[i+1],0,255,0) end ) end end ) end end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),bind) addEvent("playITc",true) addEventHandler("playITc",root,function(who,what) outputChatBox("[RADIO] "..getPlayerName(who).." : "..texts[what].."",c21,c22,c23,true) playSound(""..what..".mp3") end ) -كلينت addEvent("playIT",true) addEventHandler("playIT",root,function(who,what) for k,v in ipairs ( getElementsByType("player") ) do if getPlayerTeam(v) == getPlayerTeam(who) then triggerClientEvent(v,"playITc",v,who,what) end end end ) شكراً
  5. ممممممممممممممممممممممممممممم ؟ ويـن ؟
  6. السلام عليكم كيف الحال ؟ admin مشكلة في لـوحـة الادمـن * أستخدام لوحة الادمنية الافتراضية(التى مع مودات ) ض Set Dimension الـعـالـم اذا شخص سـوى لنفـسـة او سـوى الى شخص اخـر تغير للعالم عن طريقة لوحة الادمنية , يلطع فى شات من غير العالم الخاص بك لـكـن Set Interior الأماكن اذا شخص سـوى لنفـسـة او سـوى الى شخص اخـر تغير للمكان عن طريقة لوحة الادمنية , لا يلطع فى شات من غير مكانك رجاء احد ساعدونى على حل هذه مشكلة
  7. ألـمحـاولـة :-
  8. مـســاعـــدة أريـد اسـوي آضـافـة بـحـث في قائـمـة اسمـاء اعضاء عصابتـي
  9. رجاء اعطني الكـود !! انا جـرب ولكن الاكواد فاشلة