Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. يوم عنـاد سوى الكود = المود الكل سوآهـ
  2. الرد مايكفيك ؟ local QaB = getResourceFromName ( "Ped2" ) function restartResources() restartResource ( QaB ) setTimer ( restartResource, 5000, 0, getResourceFromName, "Ped2" ) 3ήẰÐ
  3. بالتوفيق آخذت سيرفر [ : وتمام استايل جميل + اصلاح الهاتف آخيرا اللغة العربي
  4. حياكك الله واذا تبيها صورة من اول صمم اللوحة على الصورة نفسها يعني ضيف صورتك للـ Gui وصمم عليها الازرار والخ من Extar بالتوفيقق ,,
  5. GUIEditor_Window = {} function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "logo.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 50, 0, 400, 100, titleBarText2, false, mainBackground ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end GUIEditor_Window[1] = guiCreateWindow(154,151,543,369,"",false) لازم تضيف الصورة للمـيتا باسم logo بصيغة بنق والكود يشتغل
  6. GUIEditor_Window = {} GUIEditor_Window[1] = guiCreateWindow(154,151,543,369,"",false) function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "اسم الصورة تكون بصيغة بنق.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 50, 0, 400, 100, titleBarText2, false, mainBackground ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end
  7. I think that is wrong in this setElementPosition ( localPlayer,1679.3029785156,1446.3712158203,11.043098449707 ) Because it is where the spaces between the numbers
  8. Try : GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} mainGUI = guiCreateWindow(147,141,749,548,"The Aviator Spawn Panel by Robbster",false) guiSetVisible ( mainGUI, false ) GUIEditor_Memo[2] = guiCreateMemo(80,56,627,302,'Welcome to to the Aviators Airline Gamemode!t\n\n-----\nINFO\nINFO \nINFO\nINFO\n-------\n\nHere are the ranks\n\nA student pilot is 0 points : These can fly everything except the Andromada, AT-400, military planes and military helicopters (hydra/hunter)\n\nA Private pilot is 150 points : These can fly everything except the Andromada and AT-400, and military planes and helicopters (hydra/hunter) and flying with the shamal will be x1.5 the amount of money a student pilot earns\n\nA Commercial pilot is 250 points : These can fly everything except the military planes and helicopters (hydra/hunter)\n\nArmy pilots is 500 points : These can fly everything\nIn an airline, all airplanes of the airline can be used not matter what \"level\" you are.',false,mainGUI) GUIEditor_Label[2] = guiCreateLabel(270,398,94,46,"",false,mainGUI) pilotButton = guiCreateButton(280,401,194,92,"Lets get to Work Pilot!",false,mainGUI) local localPlayer = getLocalPlayer ( ) spawnmarker = createMarker ( 1969.9000244141, -1517.8000488281, 970.79998779297 , "cylinder", 2, 9, 30, 213, 255 ) function MarkerHit ( hitPlayer, matchingDimension ) if ( hitPlayer == localPlayer ) then guiSetVisible ( mainGUI, true ) showCursor ( true ) end end addEventHandler ( "onClientMarkerHit", spawnmarker, MarkerHit ) function pilotChange() if (source == pilotButton) then setElementPosition ( localPlayer,1679.3029785156,1446.3712158203,11.043098449707 ) guiSetVisible ( mainGUI, false ) --hides GUI showCursor ( false ) --hides cursor end end addEventHandler("onClientGUIClick", getResourceRootElement(getThisResource()), pilotChange)
  9. addEvent("settingText",true) addEventHandler("settingText",root, function(ip) guiSetText(GUIEditor_Label[6],"Your IP :" .. ip) addEvent("settingText",true) addEventHandler("settingText",root, function(ip) guiSetText(GUIEditor_Label[6],"Your IP :" .. ip) end)
  10. لا اله الا الله تغطت الشاشة
  11. هذا يتحقق اذا كان مقلد النك ؟ هذا اذا الاعب قام بتسجيل الدخول بس مايتحقق بس الاخ ضارب شوي
  12. 388347289327849032490413890780347784780347805478053477803278054870480758087054780547804780 مرة فية ناس طلبوة حاول تبحث ماراح يعطيك احد
  13. تم تفعيل سيرفري من جديد بنجاحح ( = بس عطوني سيرفر جديد [ : رقم 1
  14. جرب سيرفر ثآني يكون آحسن
  15. سيرفر الجهاز مجاني ..الخ
  16. اعتقد انك تجربها بالهوست صحح ؟
  17. https://forum.multitheftauto.com/viewtopic.php?f=119&t=49267 مثال من تابل : addCommandHandler("buy", function(player, cmd, what) if what == "nitro" then if (getPlayerMoney(player) >= 3000) then local vehicle = getPedOccupiedVehicle(player) if vehicle then takePlayerMoney(player,3000) local name = getPlayerName(player) addVehicleUpgrade(vehicle, 1010) outputChatBox("[ #0000ff"..name.." #ffffff] #007fffhas bought [ #ffff00Nitro #007fff]", player, 255,255,255,true) else outputChatBox("You aren't in vehicle!", player, 255,0,0,true) end else outputChatBox("You Dont Have [#999999 3,000 #007fff]", player, 0,127,255,true) end end end) للنيترو !
  18. GUIEditor_Window = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(258,167,356,241,"",false) guiSetAlpha(GUIEditor_Window[1],1) nameEdit = guiCreateEdit(170,83,126,32,"",false,GUIEditor_Window[1]) guiSetAlpha(nameEdit,1) GUIEditor_Edit[1] = guiCreateEdit(54,182,5,5,"",false,nameEdit) guiSetAlpha(GUIEditor_Edit[1],1) amountEdit = guiCreateEdit(171,127,126,32,"",false,GUIEditor_Window[1]) guiSetAlpha(amountEdit,1) sendBTN = guiCreateButton(162,199,76,30,"Send",false,GUIEditor_Window[1]) guiSetAlpha(sendBTN,1) setTimer( function() playerList = guiCreateGridList(9,24,130,203, false, GUIEditor_Window[1]) guiGridListSetSelectionMode(playerList, 2) local cl = guiGridListAddColumn(playerList, "Players List ...", 0.85) if ( cl and guiGetVisible(GUIEditor_Window[1]) == true ) then for _,name in ipairs(getElementsByType("player")) do local rw = guiGridListAddRow(playerList) guiGridListSetItemText(playerList, rw, cl, getPlayerName(name), false, false) end addEventHandler("onClientGUIClick", playerList, onClickPlayerName) end end ,4000,0) function onClickPlayerName () local name = guiGridListGetItemText(playerList, guiGridListGetSelectedItem(playerList), 1) guiSetText(nameEdit, name) end addEventHandler("onClientGUIClick",getRootElement(), function() if ( source == sendBTN ) then playerNick = guiGetText(nameEdit) amount = guiGetText(amountEdit) triggerServerEvent("onSendMoney", getLocalPlayer(), playerNick, amount) end end)
×
×
  • Create New...