Jump to content

1REDBULL

Members
  • Posts

    139
  • Joined

  • Last visited

Everything posted by 1REDBULL

  1. addEventHandler('onClientGUIClick', root, function () if ( source == GUIEditor.button[1] ) then local sound = playSound(M.MP3) setSoundVolume(sound, 0.5) end ) guiSetVisible (GUIEditor.window[1], false) function OpenWin() if guiGetVisible (GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) وش الخطء؟
  2. السلام عليكم انا ابي الكود حق المقر يعني انا سويت مقر ابي الي يدخلون فيه ناس داخلين في قروب القروب ذا في القروب سيستيم
  3. السلام عليكم زي ما شفتو في المود الاول كان في 3 شخصيات الحين صارو 7 وانا بحاول ازيدهم واذا تبون شخصيات ثانيه مو حقت GTA V قولولي خل نشوف الصور هذي الاولى هذي الجديده انشالله يعجبكم المود واذا تبون شخصيات كثيره او ثانيه متنوعه قلولي وانا بخدمتكم انشالله ولا تنسون التقييم الرابط اكيد http://www.gulfup.com/?rDrBtC ..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::.::..::..::..::..::
  4. bindKey ( source, "tab", "down", جرب ذا انت حاط انك تكتب كلمه في اف 8
  5. السلام ابي الكود الي يعطي سياره
  6. وجرب Police ادخل تيم جربت كل شي بس القريد لست ما تشتغل ولا الازرار
  7. ناقصك ملف سيرفر عشان يشتغل السيرفر موجود بس انا حطيت الكلينت لأن المشكله فيه
  8. 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(565, 229, 459, 514, "Police Panel |By REDBULL", false) guiWindowSetMovable(wnd, false) guiWindowSetSizable(wnd, false) centerWindow(wnd) guiSetAlpha(wnd, 1.00) guiSetProperty(wnd, "CaptionColour", "FFFF0000") grid = guiCreateGridList(9, 23, 216, 338, false, wnd) guiGridListSetSelectionMode(grid,1) guiGridListAddColumn(grid, "الاعبين", 0.9) edit = guiCreateEdit(15, 361, 206, 36, "", false, wnd) GUIEditor_Button[1] = guiCreateButton(329, 33, 120, 47, "قتل الاعب", false, wnd) GUIEditor_Button[2] = guiCreateButton(235, 90, 131, 47, "مراقبه الاعب", false, wnd) GUIEditor_Button[3] = guiCreateButton(334, 147, 115, 47, "سحب سيارة الاعب", false, wnd) GUIEditor_Button[4] = guiCreateButton(235, 204, 131, 47, "تفجير سيارة الاعب", false, wnd) GUIEditor.label[1] = guiCreateLabel(248, 275, 113, 28, "Name", false, wnd) GUIEditor.label[2] = guiCreateLabel(248, 319, 113, 28, "Money", false, wnd) GUIEditor.label[3] = guiCreateLabel(248, 357, 113, 28, "Ping", false, wnd) GUIEditor.label[4] = guiCreateLabel(248, 395, 113, 28, "Health", false, wnd) GUIEditor.label[5] = guiCreateLabel(248, 433, 113, 28, "Armor", false, wnd) GUIEditor_Button[5] = guiCreateButton(9, 451, 118, 46, "خروج", false, wnd) guiSetFont(GUIEditor_Button[5],"default-bold-small") GUIEditor.label[6] = guiCreateLabel(248, 461, 117, 28, "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("الرجاء اختيار الاعب") end elseif ( source == GUIEditor_Button[1] ) then if ( sel ~= -1 ) then triggerServerEvent("killPlayer",localPlayer,text) else show("الرجاء اختيار الاعب") 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("الاعب لا يملك مركبه") end else show("الرجاء اختيار الاعب") 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("الاعب لا يملك مركبه") end else show("الرجاء اختيار الاعب") 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 ) اللوحه تشتغل بس ما يمديني اطفيها او افتحها من زر m و ما يشتغل فيها ولا شي؟ وش الخطء
  9. الى في حلول بس انت تعلم و اكتب الاكواد مره ثانيه بس خلها بين .
  10. تشوف ههههههههههه
  11. حملت انا بس اكثرها مشفره وانا و الفنكشنات الي عطيتني اياها نصها فيها اني اسوي القريد لست و القريد لست جاهزه
  12. isObjectInACLGroup setPedAnimation هذولا ممكن الي تحتاجهم بس تبيهم يعملون كراتيه من وين؟ من لوحة خاصه او ماركر؟
  13. تصحيح : الميمو ما تنفع لـ طلبكـ * الاديت هو طلبكـ ذذ استخدم التالي .. : on Open Window : getElementsByType -- Loop guiGridListAddRow guiGridListSetItemText Event: "onClientGUIClick" tonumber guiGetText guiGridListGetItemText guiGridListGetSelectedItem triggerServerEvent getPlayerMoney takePlayerMoney givePlayerMoney هذي الاكواد GUIEditor = { label = {}, button = {}, window = {}, gridlist = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(250, 259, 477, 281, "BY REDBULL |SEND MONEY", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF21DDD7") GUIEditor.memo[1] = guiCreateMemo(19, 85, 154, 31, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(61, 57, 166, 22, "الفلوس", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") GUIEditor.gridlist[1] = guiCreateGridList(282, 32, 182, 239, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "الاعبين", 0.9) GUIEditor.button[1] = guiCreateButton(36, 179, 118, 40, "تحويل", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFD1700") GUIEditor.label[2] = guiCreateLabel(173, 59, 109, 47, "________________", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") GUIEditor.label[3] = guiCreateLabel(20, 240, 158, 21, "Send Money", false, GUIEditor.window[1]) end )
  14. السلام عليكم انا الحين عندي مثلا زر و ميمو انا ابي يكتب في الميمو الفلوس و بعدين يظغط على الزر و تتحول الفلوس للاعب الي اختاره وانا سويت قريد لست وابي القريد لست تحط اسامي الاعبين فيها علشان يختار الاعب و يحول له الفلوس اتمنا انكم تفيدوني
  15. انت لا تصير تعرف او تتعلم كل شي علطول اصبر حبه حبه وتصميم الشخصيات معقد
  16. local ColShape = createColSphere(x,y,z,Rus) addEventHandler("onColShapeHit",ColShape, function (player) if getElementData( player, "gang" ) == "GroupName" then setPlayerWantedLevel(player، 6) outputChatBox("لـقـد دخلت مـقر سـوات",player,255,0,0,true) end end ) هذا هو الكود بس عدل على الاحداثيات اول سطر
  17. local ColShape = createColSphere(x,y,z,Rus) -- ال اكس و الواي و الزد هذولا الاحداثيات addEventHandler("onColShapeHit",ColShape, function (player) if getElementData( player, "gang" ) == "GroupName" then -- هنا اكتب اسم قروبك او العصابه حقت السوات setPlayerWantedLevel(player، 6) outputChatBox("لـقـد دخلت مـقر سـوات",player,255,0,0,true) -- هنا الرساله اذا دخل المقر تطلعله يمديك تعدل عليها end end ) الاحداثيات يمديك تجيبها من لوحة الادمنيه و حدد على اسمك و بتشوفها
  18. جرب انت كيف تبي تتعلم بدون ما تجرب؟ وانت حط كل الي تبيه ب موضوع واحد مو مواضيع ورا بعض هذا ممنوع
  19. isTimer fixVehicle bindKey شف جرب
×
×
  • Create New...