Jump to content

AboShanab

Members
  • Posts

    1,348
  • Joined

  • Last visited

Everything posted by AboShanab

  1. مو آنت هذآ في مدينة فرآنك فورت وآنت بآلسعودية ذا خادم واحد من الشباب
  2. function ( theplayer ) getElementData ( Vehicle, "Normal" ) for i, v in ipairs ( Vehicle ) do -- متى صارت السيارة جدول :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :diabloanifire: :diabloanifire: :diabloanifire:
  3. اللهم انصرهم في هذه الحرب العالمية
  4. function Pedser(thePlayer, command,Peds, VehicleModels) if not ( Peds or not VehicleModels ) then return end if not ( tonumber ( Peds ) and tonumber ( VehicleModels ) ) then return outputChatBox ("Please follow the right command, example /lol 9 5", thePlayer, 255, 0, 0) end local x, y, z = getElementPosition (thePlayer) local x = x+5 Vehicle = createVehicle (VehicleModels,x ,y ,z) Pedss = createPed (Peds, 0, 0, 0) warpPedIntoVehicle (Pedss, Vehicle, 0) end addCommandHandler ( "lol", Pedser )
  5. .___. ? PHP ? انا سويته بـ MySQL -__-
  6. لا بالنسبة لـ MR.Z انا اعرفه وماهو تنطيل .. شف وش قايل له تنطيل .. لكن هو مو تنطيل ..
  7. ابو شنب فيه خطا لما اضغط زر انتقال يقول تم الانتقال وماينقلني الخطا في setElementPosition في سطر 69 >< صلحلي الكود لاهنت <3 وحطلي اضافه حلوه من عندك الازرار واسم النافذه تتلون عدة الوان ورى بعض واذا ضغط زر انتقال بدون مايحدد على الرو يطلع له في الشات Please Select Place انتظرك <3 جربها الان , م اضفت لك التلوين حاول تسويه بنفسك واساعدك
  8. لو تغير صورة العرض , افضل وش عليك منه
  9. --[[------------------------------------------------- Created By Mr.R Skype : Httttt7_Ksa --]]------------------------------------------------- GUIEditor = { label = {}, staticimage = {} } WarpTaple = { -- تيبل للانتقالات { "الدائــــــــــري", "d.png", 1815.40515, 870.14069, 10.53743 }, { "النــــخــــيــــل", "n.png", 2077.17993, 868.93744, 6.86413 }, { "الــــــغــــــروب", "g.png", 674.92969, 1931.07874, 5.53906 }, } addEventHandler("onClientResourceStart", resourceRoot, function ( ) wnd = guiCreateWindow(181, 109, 426, 360, "=[ Panel Places v1.0 By Mr.R ]=", false) guiSetProperty(wnd, "CaptionColour", "FFFA0000") guiWindowSetSizable(wnd, false) GridList = guiCreateGridList(9, 22, 202, 328, false, wnd) guiGridListAddColumn(GridList, "Places ...", 0.9) for _,v in ipairs ( WarpTaple ) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, v[1], false, false ) guiGridListSetItemData ( GridList, row, 1, { v[3], v[4], v[5] } ) end Button1 = guiCreateButton(250, 247, 134, 39, "=[ Warp ]=", false, wnd) guiSetProperty(Button1, "NormalTextColour", "FFAAAAAA") Button2 = guiCreateButton(250, 296, 134, 39, "=[ X ]=", false, wnd) setElementData(Button1, "tooltip-text", "انتقل", false) setElementData(Button2, "tooltip-text", "اغلاق", false) guiSetProperty(Button2, "NormalTextColour", "FFAAAAAA") GUIEditor.staticimage[1] = guiCreateStaticImage(221, 28, 178, 155, "MTA.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(264, 188, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 245, 7, 46) GUIEditor.label[2] = guiCreateLabel(343, 209, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 191, 25, 226) end ) bindKey ( "F3", "down", function ( )-- وظيفة قفل+فتح النافذه guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) addEventHandler("onClientGUIClick", resourceRoot, function ( ) if ( source == GridList ) then if ( guiGridListGetSelectedItem ( source ) ~= -1 ) then local fName = guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) for _,v in ipairs ( WarpTaple ) do if ( v[1] == fName ) then if ( v[2] ~= "" or v[2] ~= " " ) then guiStaticImageLoadImage ( GUIEditor.staticimage[1], tostring ( v[2] ) ) end end end else guiStaticImageLoadImage ( GUIEditor.staticimage[1], "MTA.png" ) end elseif ( source == Button1 ) then if ( guiGridListGetSelectedItem ( GridList ) ~= -1 ) then if ( isTimer ( Timer ) ) then return end Timer = setTimer ( function ( ) end, 4000, 1 ) setElementPosition ( localPlayer, unpack ( guiGridListGetItemData ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) ) ) outputChatBox ( "* تم الإنتقال الى ".. guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) .."", 255, 255, 0, true ) else outputChatBox ( "* Please Select Place !", 255, 0, 0, true ) end elseif ( source == Button2 ) then guiSetVisible ( wnd, false ) showCursor ( false ) end end )
  10. --[[------------------------------------------------- Created By Mr.R Skype : Httttt7_Ksa --]]------------------------------------------------- GUIEditor = { label = {}, staticimage = {} } WarpTaple = { { "الدائــــــــــري", x, y, z }, { "النــــخــــيــــل", x, y, z }, { "الــــــغــــــروب", x, y, z }, } addEventHandler("onClientResourceStart", resourceRoot, function ( ) wnd = guiCreateWindow(181, 109, 426, 360, "=[ Panel Places v1.0 By Mr.R ]=", false) guiSetProperty(wnd, "CaptionColour", "FFFA0000") guiWindowSetSizable(wnd, false) GridList = guiCreateGridList(9, 22, 202, 328, false, wnd) guiGridListAddColumn(GridList, "Places ...", 0.9) for _,v in ipairs ( WarpTaple ) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, v[1], false, false ) guiGridListSetItemData ( GridList, row, 1, { v[2], v[3], v[4] } ) end Button1 = guiCreateButton(250, 247, 134, 39, "=[ Warp ]=", false, wnd) guiSetProperty(Button1, "NormalTextColour", "FFAAAAAA") Button2 = guiCreateButton(250, 296, 134, 39, "=[ X ]=", false, wnd) setElementData(Button1, "tooltip-text", "انتقل", false) setElementData(Button2, "tooltip-text", "اغلاق", false) guiSetProperty(Button2, "NormalTextColour", "FFAAAAAA") GUIEditor.staticimage[1] = guiCreateStaticImage(221, 28, 178, 155, "MTA.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(264, 188, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 245, 7, 46) GUIEditor.label[2] = guiCreateLabel(343, 209, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 191, 25, 226) end ) bindKey ( "F3", "down", function ( ) guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) addEventHandler("onClientGUIClick", resourceRoot, function ( ) if ( source == Button1 ) then if ( guiGridListGetSelectedItem ( GridList ) ~= -1 ) then if ( isTimer ( Timer ) ) then return end Timer = setTimer ( function ( ) end, 4000, 1 ) setElementPosition ( localPlayer, unpack ( guiGridListGetItemData ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) ) ) outputChatBox ( "* تم الإنتقال الى ".. guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) .."", 255, 255, 0, true ) end end end )
  11. بالنسبة لـ guiGridListSetItemData( GridList, row, 1, v[2] ) انت سويت SetItemData لـ x فقط يعني y,z مسحوب عليهم منك guiGridListGetItemData( GridList, row, 1, v[2] ) امسح v[2] وناقصك قوس اغلاق في سطر 64
×
×
  • Create New...