Jump to content

Fassol<3

Members
  • Posts

    174
  • Joined

  • Last visited

Everything posted by Fassol<3

  1. وين أحط الكود ؟؟
  2. The Best/ مشكووووور أخوي + x1x.wma أبي لما احد يفتحح اللوحة يطلع صوت ممكن الكود + انا عندي ملف الصووت واسمه ملف meta client GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[9] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor_Button[8] or source == GUIEditor_Button[9] or source == GUIEditor_Button[20] then guiSetVisible(wnd,false) showCursor(false) end end ) bindKey('F12','down', function() guiSetVisible(wnd,not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) end )
  3. السلام عليكم انا عملت مود لوحة القوانين وفيه خطأ وانا معرف وين الخطأ اتمنى تساعدوني الكود GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0,0,800,599,"~@ قوانين السيرفر @~",false) guiSetAlpha(wnd,1) GUIEditor_TabPanel[1] = guiCreateTabPanel(791,590,0,1,false,wnd) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(9,24,782,567,false,wnd) GUIEditor_Tab[2] = guiCreateTab("~@ قوانين السيرفر @~",GUIEditor_TabPanel[2]) GUIEditor_Button[1] = guiCreateButton(15,3,753,54,"السب والشتم = ميوت5 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[2] = guiCreateButton(15,63,753,54,"النشر + التكرار = ميوت 10 دقائق",false,GUIEditor_Tab[2]) GUIEditor_Button[3] = guiCreateButton(15,123,753,54,"طلبات الأدمنية = ميوت 15 دقيقة",false,GUIEditor_Tab[2]) GUIEditor_Button[4] = guiCreateButton(15,183,753,54,"القتل خارج الساحة = سلاب + فريز(تجميد)",false,GUIEditor_Tab[2]) GUIEditor_Button[5] = guiCreateButton(15,244,753,54,"القتل في البداية + اخراج سيارة في البداية = كيك",false,GUIEditor_Tab[2]) GUIEditor_Button[6] = guiCreateButton(15,305,753,54,"الدبابة + البازوكا + الخلاط = باند 100 سنة",false,GUIEditor_Tab[2]) GUIEditor_Button[7] = guiCreateButton(15,366,753,54,"عكس شارع الدائري = سلاب = سحب السيارة",false,GUIEditor_Tab[2]) GUIEditor_Label[1] = guiCreateLabel(302,455,183,17,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[2]) GUIEditor_Button[8] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("~@ قوانين الأدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[9] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[3]) GUIEditor_Button[10] = guiCreateButton(15,3,753,54,"التكبر على الزوار = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Label[2] = guiCreateLabel(302,455,183,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[3]) GUIEditor_Button[11] = guiCreateButton(15,63,753,54,"إستخدام لوحة الأدمنية بدون سبب = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[12] = guiCreateButton(15,123,753,54,"طلبات الترقية = تنزيل الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[13] = guiCreateButton(15,183,753,54,"التخريب عن طريق لوحة الأدمنية = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Button[14] = guiCreateButton(15,244,753,54,"إستخدام لوحة الأدمنية لأمور خاصة = سحب الرتبة",false,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("~@ شروط الحصول على أدمنية @~",GUIEditor_TabPanel[2]) GUIEditor_Button[15] = guiCreateButton(15,3,753,54,"للحصول على مشرف = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[16] = guiCreateButton(15,63,753,54,"للحصول على مراقب = نشر + تواجد 50 ساعة",false,GUIEditor_Tab[4]) GUIEditor_Button[17] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[18] = guiCreateButton(15,123,753,54,"للحصول على إدارة = نشر + تواجد يوميا",false,GUIEditor_Tab[4]) GUIEditor_Button[19] = guiCreateButton(15,183,753,54,"وستستمر الترقية على شرط التواجد + عدم طلب الترقية + نشر",false,GUIEditor_Tab[4]) GUIEditor_Label[3] = guiCreateLabel(66,-11,5,5,"",false,GUIEditor_Tab[4]) GUIEditor_Label[4] = guiCreateLabel(302,455,184,18,"~@ مع تحيات : صاحب السيرفر @~",false,GUIEditor_Tab[4]) GUIEditor_Button[20] = guiCreateButton(15,482,753,54,"~@ إغـلاق @~",false,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("~@ مع تحيات @~",GUIEditor_TabPanel[2]) GUIEditor_Label[5] = guiCreateLabel(255,68,326,39,"~@ حـيـاكـم الله في سيرفر حكايم للهجوله عنوان @~",false,GUIEditor_Tab[5]) GUIEditor_Label[6] = guiCreateLabel(308,126,326,43,"~@ الرجاء الإلتزام بالقوانين @~",false,GUIEditor_Tab[5]) GUIEditor_Label[7] = guiCreateLabel(300,179,238,45,"~@ مع تحيات صاحب السيرفر @~",false,GUIEditor_Tab[5]) GUIEditor_Label[8] = guiCreateLabel(273,229,230,58,"~@ تنمنى لكم قضاء وقت ممتع في السيرفر @~",false,GUIEditor_Tab[5]) واذ وجتم الخطأ وصلحتوه أبي لما أحد يضغط على زر ~ إغـلاق @~ هوموجود 3 مرات هنا ابي لما احد يضغطه تقفل النافذة وابي النافذة تنفتح بزر f12
  4. انا حافظه وما حصلته اسمع اذا تقدر تجيب اسمه في برنامج txd جيبه هذا الاي دي 7910
  5. في الشرح اعطاني رابط حق ويكي فيه اسم الابجكت والإيدي واسمه بصيغة txd حقه بكون شاكر لك txdالموقع جاب كل الاوبجكتات الى الاوبجكت حقي دورت عليه ما حصلته واذا تقدر تجيب لي اسم ال
  6. اسمع اول شي انا ابي الشرح هنا ثاني شي الايدي حق الاوبجكت مو موجود في موقع ويكي وهذ الايدي 7910
  7. وين احط الكود ذا ؟؟ من وين أجيب الصورة هذ هي موجودة بملف السيرفر ؟؟
  8. السلام علييكم شباب الموضوع ذا مدري وين القسم المناسب له وأي أدمن هنا يعرف القسم المناسب ينقله المهم انا اطلب طريقة استبدال هذه الصورة المشهورة في الmta بصورة من عندي واللي يدخل السيرفر يتضهر له الصورة حقتي بدل هاذي
  9. مشكوووووووووووور أخ عناد يعطيكك الف الف عافية بإمكانك إغلاق الموضوع الآن
  10. شباب انا حملت مود عامل الورشة وهاذي صورته أنا ابي احذف أول قائمة مع الصورة ~~Wheels~~1 وهذا هو الملف حقها GUIEditor_Image = {} GUIEditor_Label = {} addEventHandler ("onClientResourceStart",getResourceRootElement(getThisResource()), function() function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end wel = guiCreateStaticImage(215,189,569,539,"images/wel.png",false) centerWindow( wel ) GUIEditor_Image[1] = guiCreateStaticImage(33,32,104,66,"images/1.png",false,wel) wel1 = guiCreateButton(32,100,104,34,"~~Wheels~~1",false,wel) GUIEditor_Image[2] = guiCreateStaticImage(163,35,111,67,"images/2.png",false,wel) wel2 = guiCreateButton(162,102,112,33,"~~Wheels~~2",false,wel) wel3 = guiCreateButton(300,101,119,33,"~~Wheels~~3",false,wel) GUIEditor_Image[3] = guiCreateStaticImage(299,35,118,65,"images/3.png",false,wel) GUIEditor_Image[4] = guiCreateStaticImage(432,33,113,67,"images/4.png",false,wel) wel4 = guiCreateButton(429,101,109,33,"~~Wheels~~4",false,wel) GUIEditor_Image[5] = guiCreateStaticImage(32,136,104,55,"images/5.png",false,wel) wel5 = guiCreateButton(32,193,105,34,"~~Wheels~~5",false,wel) GUIEditor_Image[6] = guiCreateStaticImage(163,135,111,62,"images/6.png",false,wel) wel6 = guiCreateButton(161,197,113,29,"~~Wheels~~6",false,wel) GUIEditor_Image[7] = guiCreateStaticImage(301,134,119,60,"images/8.png",false,wel) wel7 = guiCreateButton(299,195,120,30,"~~Wheels~~7",false,wel) GUIEditor_Image[8] = guiCreateStaticImage(429,134,107,63,"images/9.png",false,wel) wel8 = guiCreateButton(426,198,111,29,"~~Wheels~~8",false,wel) GUIEditor_Image[9] = guiCreateStaticImage(31,228,105,60,"images/10.png",false,wel) wel9 = guiCreateButton(28,290,108,34,"~~Wheels~~9",false,wel) GUIEditor_Image[10] = guiCreateStaticImage(162,227,113,63,"images/11.png",false,wel) wel10 = guiCreateButton(160,290,118,35,"~~Wheels~~10",false,wel) GUIEditor_Image[11] = guiCreateStaticImage(301,226,116,67,"images/12.png",false,wel) wel11 = guiCreateButton(297,295,121,30,"~~Wheels~~11",false,wel) GUIEditor_Image[12] = guiCreateStaticImage(424,227,111,64,"images/13.png",false,wel) wel12 = guiCreateButton(423,294,113,30,"~~Wheels~~12",false,wel) GUIEditor_Image[13] = guiCreateStaticImage(26,334,145,77,"images/14.png",false,wel) wel13 = guiCreateButton(23,413,149,35,"~~Wheels~~13",false,wel) GUIEditor_Image[14] = guiCreateStaticImage(219,330,147,78,"images/15.png",false,wel) wel14 = guiCreateButton(217,408,153,39,"~~Wheels~~14",false,wel) GUIEditor_Image[15] = guiCreateStaticImage(398,330,134,81,"images/16.png",false,wel) wel15 = guiCreateButton(396,412,137,34,"~~Wheels~~15",false,wel) x = guiCreateButton(250,441,82,41,"اغلاق/close",false,wel) guiSetProperty(wel1,"NormalTextColour", "FF00FF00") guiSetProperty(wel2,"NormalTextColour", "FF00FF00") guiSetProperty(wel3,"NormalTextColour", "FF00FF00") guiSetProperty(wel4,"NormalTextColour", "FF00FF00") guiSetProperty(wel5,"NormalTextColour", "FF00FF00") guiSetProperty(wel6,"NormalTextColour", "FF00FF00") guiSetProperty(wel7,"NormalTextColour", "FF00FF00") guiSetProperty(wel8,"NormalTextColour", "FF00FF00") guiSetProperty(wel9,"NormalTextColour", "FF00FF00") guiSetProperty(wel10,"NormalTextColour", "FF00FF00") guiSetProperty(wel11,"NormalTextColour", "FF00FF00") guiSetProperty(wel12,"NormalTextColour", "FF00FF00") guiSetProperty(wel13,"NormalTextColour", "FF00FF00") guiSetProperty(wel14,"NormalTextColour", "FF00FF00") guiSetProperty(wel15,"NormalTextColour", "FF00FF00") guiSetVisible(wel, false) end) Marker = createMarker(1893.6513671875,797.57531738281,13.9921875,"cylinder",1.5,0,0,225,100) setElementInterior (Marker,0) function marker(player) if getElementType(player) == "player" and player == localPlayer then local pTeam = getPlayerTeam(player) if ( pTeam ) and ( pTeam == getTeamFromName("WorkShop") ) then guiSetVisible(wel, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", Marker, marker) createBlip ( 1893.6513671875,797.57531738281,13.9921875, 27 ) fileDelete("client.lua")
  11. هع تم الحل المشكلة كان داخل الملف المضغوط ملف عادي داخله المللفات هع
  12. أين الخطأ؟؟ اللي أعطيتني الحين مصحح ؟؟
  13. الا هذا هو type="map" version="1.0.0"> "tftish.map" dimension="0">
  14. السلام عليكم ورحمة الله وبركاته انا حملت مود التفتيش وركبته لاكن واجهتني مشكلة لما عملت refresh بالسيرفر يطلع لي هذا الكلام [05:21:53] Loading of resource 'xTftish' failed ERROR: Couldn't find meta.xml file for resource 'xTftish' Loading of resource 'xTftish' failed
  15. كفوووووووووو تم مشكورييين جميعاً عملت مثل ما قال لي اخويك كينق
  16. وش قصتكم ؟؟؟ مافهمت هع
  17. اوكي بجرب بسس عملت شي بالمود ؟؟ #
  18. أبي الشرطي فقط يفتح اللوحة
  19. والصلاحيات ؟؟ قصدي صلاحيات فتح اللوحة
  20. اوكي metaالـ "|Mr|-Talal07-|" name="Police Panel" version="1.1.0" type="script" /> PP_Client.lua ملف -- Police Panel By |Mr|-Talal07-| key = "m" function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end GUIEditor_Button = {} GUIEditor_Label = {} wnd = guiCreateWindow(0.32,0.175,0.5138,0.7583,"Police Panel | By |Mr|-Talal07-|",true) guiWindowSetMovable(wnd,false) guiWindowSetSizable(wnd,false) centerWindow(wnd) grid = guiCreateGridList(9,25,183,375,false,wnd) guiGridListSetSelectionMode(grid,1) guiGridListAddColumn(grid,"الاعبين",0.-- s8) --> edit = guiCreateEdit(9,406,182,40,"",false,wnd) GUIEditor_Button[1] = guiCreateButton(196,33,205,34,"قتل الاعب",false,wnd) GUIEditor_Button[2] = guiCreateButton(196,79,205,34,"مراقبه الاعب",false,wnd) GUIEditor_Button[3] = guiCreateButton(196,125,205,34,"سحب سيارة الاعب",false,wnd) GUIEditor_Button[4] = guiCreateButton(196,174,205,34,"تفجير سيارة الاعب",false,wnd) GUIEditor_Label[1] = guiCreateLabel(199,221,201,27,"Name:",false,wnd) GUIEditor_Label[2] = guiCreateLabel(199,244,201,27,"Money:",false,wnd) GUIEditor_Label[3] = guiCreateLabel(199,267,201,27,"Ping:",false,wnd) GUIEditor_Label[4] = guiCreateLabel(199,289,201,27,"Health:",false,wnd) GUIEditor_Label[5] = guiCreateLabel(199,311,201,27,"Armor:",false,wnd) GUIEditor_Button[5] = guiCreateButton(315,397,87,49,"خروج",false,wnd) guiSetFont(GUIEditor_Button[5],"default-bold-small") guiSetProperty(GUIEditor_Button[5],"NormalTextColour","ffff0000") GUIEditor_Label[6] = guiCreateLabel(199,333,201,27,"Skin:",false,wnd) guiSetVisible(wnd,false) for i,btn in ipairs(GUIEditor_Button) do guiSetFont(btn,"default-bold-small") guiSetProperty(btn,"NormalTextColour","ffff0000") end for i,lal in ipairs(GUIEditor_Label) do guiSetFont(lal,"default-bold-small") guiLabelSetColor(lal,255,255,0) end function open() triggerServerEvent("isPolice",localPlayer) end bindKey(key,"down",open) addEvent("Yes",true) addEventHandler("Yes",root, function () if guiGetVisible(wnd) then guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(wnd,true) showCursor(true) guiSetInputEnabled(true) putAllPlayersInList() end end ) function putAllPlayersInList() guiGridListClear(grid) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) guiGridListSetItemColor(grid,row,1,0,255,0) end end addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[5] ) then guiSetVisible(wnd,false) showCursor(false) guiSetInputEnabled(false) end end ) function setPlayerSep(player) setCameraTarget(player) x,y = guiGetScreenSize() endkey = guiCreateButton(0.1,0.4,0.1,0.15,"End",true) addEventHandler("onClientGUIClick",endkey,onEndSep,false) end function onEndSep() destroyElement(endkey) setCameraTarget(localPlayer) end function show(msg) exports.msgbox:guiShowMessageBox(msg,"error","Error",false,"OK") end addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(grid) local text = guiGridListGetItemText(grid,sel,1) if ( source == GUIEditor_Button[2] ) then if ( sel ~= -1 ) then setPlayerSep(getPlayerFromName(text)) else show("Please Choose Player To Spectator it") end elseif ( source == GUIEditor_Button[1] ) then if ( sel ~= -1 ) then triggerServerEvent("killPlayer",localPlayer,text) else show("Please Choose Player To Kill it") end elseif ( source == GUIEditor_Button[3] ) then if ( sel ~= -1 ) then local player = getPlayerFromName(text) if isPedInVehicle(player) then triggerServerEvent("onDes",localPlayer,text) else show("This Player Don't Have Vehicle") end else show("Please Choose Player To Destroy His Vehicle") end elseif ( source == GUIEditor_Button[4] ) then if ( sel ~= -1 ) then local player = getPlayerFromName(text) if isPedInVehicle(player) then triggerServerEvent("onBlow",localPlayer,text) else show("This Player Don't Have Vehicle") end else show("Please Choose Player To Blow His Vehicle") end end end ) addEventHandler("onClientGUIClick",root, function () if ( source == grid ) then local sel = guiGridListGetSelectedItem(grid) local text = guiGridListGetItemText(grid,sel,1) local player = getPlayerFromName(text) if ( player ) then guiSetText(GUIEditor_Label[1],"Name: " .. getPlayerName(player)) guiSetText(GUIEditor_Label[2],"Money: " .. getPlayerMoney(player) .. "$") guiSetText(GUIEditor_Label[3],"Ping: " .. getPlayerPing(player)) guiSetText(GUIEditor_Label[4],"Health: " .. math.ceil(getElementHealth(player)) .. "%") guiSetText(GUIEditor_Label[5],"Armor: " .. math.ceil(getPedArmor(player)) .. "%") guiSetText(GUIEditor_Label[6],"Skin: " .. getElementModel(player)) else guiSetText(GUIEditor_Label[1],"Name: N/A") guiSetText(GUIEditor_Label[2],"Money: N/A") guiSetText(GUIEditor_Label[3],"Ping: N/A") guiSetText(GUIEditor_Label[4],"Health: N/A") guiSetText(GUIEditor_Label[5],"Armor: N/A") guiSetText(GUIEditor_Label[6],"Skin: N/A") end end end ) addEventHandler("onClientGUIChanged",root, function () if ( source == edit ) then local text = guiGetText(edit) if ( text == "" ) then putAllPlayersInList() else guiGridListClear(grid) for i,v in ipairs(getElementsByType("player")) do local name = getPlayerName(v) if string.find(name,text) then local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,name,false,false) guiGridListSetItemColor(grid,row,1,255,255,0) end end end end end ) PP_Server.lua ملف addEvent("isPolice",true) addEventHandler("isPolice",root, function () if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)),aclGetGroup("Police")) then triggerClientEvent(source,"Yes",source) end end ) addEvent("killPlayer",true) addEventHandler("killPlayer",root, function (player) local player = getPlayerFromName(player) if ( player ) then killPed(player) outputChatBox("* [ Police ] : The Player Killed Successfuly",source,0,255,0) outputChatBox("* [ Police ] : You Are Killed By " .. getPlayerName(source),player,255,0,0) end end ) addEvent("onDes",true) addEventHandler("onDes",root, function (player) local player = getPlayerFromName(player) local veh = getPedOccupiedVehicle(player) destroyElement(veh) outputChatBox("* [ Police ] : The Player Vehicle Successfuly Destoryed",source,0,255,0) outputChatBox("* [ Police ] : Your Vehicle Destroy By " .. getPlayerName(source),player,255,0,0) end ) addEvent("onBlow",true) addEventHandler("onBlow",root, function (player) local player = getPlayerFromName(player) local veh = getPedOccupiedVehicle(player) blowVehicle(veh) outputChatBox("* [ Police ] : The Player Vehicle Successfuly Blowed",source,0,255,0) outputChatBox("* [ Police ] : Your Vehicle Blow By " .. getPlayerName(source),player,255,0,0) end ) addEventHandler("onPlayerLogin",root, function (_,acc) if isObjectInACLGroup("user." .. getAccountName(acc),aclGetGroup("Police")) then outputChatBox("* Welcome Police Man Press m To Open Police Panel",source,255,255,255,true) end end ) addEventHandler("onResourceStart",resourceRoot, function () if not aclGetGroup("Police") then outputChatBox("* Admin Please Add Group Name Police To Add Player in it To Be Police",root,255,0,0) end end ) acl "Everyone"> "Default"> "user.*"> "resource.*"> "Moderator"> "Moderator"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "user.Mood"> "user.FAISAL_64"> "user.FAISAL64"> "SuperModerator"> "Moderator"> "SuperModerator"> "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "resource.admin"> "resource.webadmin"> "user.FAISAL64"> "Console"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.FAISAL64"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race"> "Big.Admin"> "raceACL"> "MapEditor"> "RPC"> "Admin"> "SuperModerator"> "Moderator"> "Default"> "general.ModifyOtherObjects" access="false"> "general.http" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.restart" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.debugscript" access="false"> "command.chgpass" access="false"> "command.loadmodule" access="false"> "command.upgrade" access="false"> "command.mute" access="false"> "command.crun" access="false"> "command.srun" access="false"> "command.run" access="false"> "command.unmute" access="false"> "command.kick" access="false"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.shutdown" access="false"> "command.install" access="false"> "command.aexec" access="false"> "command.whois" access="false"> "command.whowas" access="false"> "function.executeCommandHandler" access="false"> "function.setPlayerMuted" access="false"> "function.addAccount" access="false"> "function.addBan" access="false"> "function.removeBan" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "function.kickPlayer" access="false"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.getClientIP" access="false"> "function.setServerPassword" access="false"> "function.getServerPassword" access="false"> "function.callRemote" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.createResource" access="false"> "function.copyResource" access="false"> "function.addResourceMap" access="false"> "function.addResourceConfig" access="false"> "function.removeResourceFile" access="false"> "function.setResourceDefaultSetting" access="false"> "function.removeResourceDefaultSetting" access="false"> "function.redirectPlayer" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "function.refreshResources" access="false"> "function.setServerConfigSetting" access="false"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setnick" access="false"> "Moderator"> "general.ModifyOtherObjects" access="false"> "command.gamemode" access="true"> "command.changemode" access="true"> "command.changemap" access="true"> "command.stopmode" access="true"> "command.stopmap" access="true"> "command.skipmap" access="true"> "command.mute" access="true"> "command.unmute" access="true"> "command.whois" access="true"> "command.whowas" access="true"> "function.setPlayerMuted" access="true"> "function.kickPlayer" access="true"> "function.banIP" access="true"> "function.banPlayer" access="true"> "function.banSerial" access="true"> "function.getBansXML" access="true"> "function.unbanIP" access="true"> "function.unbanSerial" access="true"> "function.getClientIP" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.redirectPlayer" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="true"> "general.tab_bans" access="false"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="false"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="false"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="false"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="false"> "command.setgravity" access="true"> "command.settime" access="true"> "command.ban" access="true"> "command.unban" access="false"> "command.banip" access="true"> "command.unbanip" access="false"> "command.banserial" access="true"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setnick" access="true"> "SuperModerator"> "general.ModifyOtherObjects" access="false"> "command.start" access="true"> "command.stop" access="true"> "command.restart" access="true"> "command.kick" access="true"> "command.ban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.refresh" access="true"> "command.refreshall" access="true"> "command.loadmodule" access="true"> "command.addaccount" access="true"> "command.delaccount" access="true"> "command.chgpass" access="true"> "function.addAccount" access="true"> "function.removeAccount" access="true"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_maps" access="true"> "general.tab_server" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="false"> "command.repair" access="true"> "command.blowvehicle" access="false"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="false"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.unban" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "command.setnick" access="true"> "Admin"> "general.ModifyOtherObjects" access="true"> "general.http" access="true"> "command.shutdown" access="true"> "command.install" access="true"> "command.aexec" access="true"> "command.debugscript" access="true"> "command.upgrade" access="true"> "command.crun" access="true"> "command.srun" access="true"> "command.run" access="true"> "function.addBan" access="true"> "function.removeBan" access="true"> "function.executeCommandHandler" access="true"> "function.setServerPassword" access="true"> "function.getServerPassword" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.aclReload" access="true"> "function.aclSave" access="true"> "function.aclCreate" access="true"> "function.aclDestroy" access="true"> "function.aclSetRight" access="true"> "function.aclRemoveRight" access="true"> "function.aclCreateGroup" access="true"> "function.aclDestroyGroup" access="true"> "function.aclGroupAddACL" access="true"> "function.aclGroupRemoveACL" access="true"> "function.aclGroupAddObject" access="true"> "function.aclGroupRemoveObject" access="true"> "function.refreshResources" access="true"> "function.setServerConfigSetting" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_server" access="true"> "general.tab_maps" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="true"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="true"> "command.stop" access="true"> "command.stopall" access="false"> "command.restart" access="true"> "command.execute" access="true"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.ban" access="true"> "command.unban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "command.setnick" access="true"> "RPC"> "function.callRemote" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setnick" access="false"> "MapEditor"> "general.ModifyOtherObjects" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.xmlLoadFile" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setnick" access="false"> "raceACL"> "general.ModifyOtherObjects" access="true"> "function.xmlLoadFile" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.setnick" access="false">
  21. السلام عليكم انا حملت مود لوحة الشرطي وأبي احط رتبة الشرطي في ملف الأسل وأعطيه صلاحية فتح اللوحة هو فقط بإنتضاركم
  22. كيف اشغل ماب في السيرفر ؟؟ ماب البداية عشان اثبت البداية وما اتلخبط
×
×
  • Create New...