-
Posts
248 -
Joined
-
Last visited
Everything posted by Machine
-
السلام عليكم اخواني انا اريد ان اخذ دورة كاملة مكملة عن لغة lua ان شاء الله والكمال لله فقط ومستعد ادفع كمان $$$ ويلي هايقول اتعلمها على wiki بحب اقله اني حاولت اتعلمه عليه استفدت كثير منه صراحة بس مش بالقدر الكافي
-
Yes But how can it be possible cab give me the codes cous i search alot and never find sound of player voice can be in Specific Places must be like local sound x y z something like that i think
-
Hi All i just wanna ask is it possible to create a script that allow you to record your voice and save it as an mp3 in game! and i would really ask if its possible to make voice chat that only one can speak by clicking a button in a gui is that possible and the sound of player voice can be in Specific Places i know my request is hard but pls help
-
انا مستعد اني اعمل هذا الك اصلا انا من فلسطين وبدور على ملفات rp وانا مستعد اني اعطيك مبلغ عشانهن
-
اخي المشكلة اللي عندك ما تقدر تحلها لانها المشكلة مش من عندك اصلا المشكلة من السيرفر نفسه انا كانت كثير تصير معاي لحد ما بلغت صاحب السيرفر وهو قام باصلااحها انت اصلا اقرا الخطأ المشكلة اللي في السيرفر اللي انت تدخل عليه في Resrouce admin مع اني اشك انه احتمال ضيئل احتمال كبير انها تكون المشكلة انه ملف admin معمول للقراءة فقط اللي في المود
-
اخوي اتفضل gate = createObject(971,2481.1999511719,-1722.1999511719,16.10000038147,0,0,0) function opendoor() moveObject (gate, 5000, 2481.1999511719, -1722.1999511719, 16.10000038147 ) end addCommandHandler("close1", opendoor) زر اغلاق الباب الاول function closedoor() moveObject (gate, 5000, 2481.1999511719, -1722.1999511719, 22.700000762939 ) end addCommandHandler("open1", closedoor) زر فتح الباب الاول ---------------------------------------------------------------- gate2 = createObject(971,2420.8999023438,-1659.0999755859,16,0,0,90) function opendoor() moveObject (gate2, 5000, 2420.8999023438, -1659.0999755859, 16 ) end addCommandHandler("close2", opendoor) زر اغلاق الباب الثاني function closedoor() moveObject (gate2, 5000, 2420.8999023438, -1659.0999755859, 21.10000038147 ) end addCommandHandler("open2", closedoor) زر فتح الباب الثاني
-
طلبي الاول هو بدي اعمل بركة فيها ماء بس المشكلة انه انا مش فاهم كيف هذا السكربت فيا ريت مثال عددي عليه في grove street -- Setting water properties. height = 40 SizeVal = 2998 -- Defining variables. southWest_X = -SizeVal southWest_Y = -SizeVal southEast_X = SizeVal southEast_Y = -SizeVal northWest_X = -SizeVal northWest_Y = SizeVal northEast_X = SizeVal northEast_Y = SizeVal -- OnClientResourceStart function that creates the water. function thaResourceStarting( ) water = createWater ( southWest_X, southWest_Y, height, southEast_X, southEast_Y, height, northWest_X, northWest_Y, height, northEast_X, northEast_Y, height ) setWaterLevel ( height ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), thaResourceStarting) طلبي الثاني هو انه هذا الملف بقوم على تدمير السيارة وتفجيرها بس انا بدي اياه زي كيف في الادمن بنل بس شوخذ سيارة اللاعب من دون تفجير الملفات server addEvent ("carSpawn", true) addEvent ("carDestroy", true) function carSpawn () if not (isGuestAccount (getPlayerAccount (source))) and not (isPedInVehicle(source)) then if (getElementData (source, "hisCar")) and (getElementData (source, "hisCar") ~= nil) and (getElementType(getElementData (source, "hisCar")) == "vehicle") then setElementVelocity (getElementData (source, "hisCar"), 0,0,0) local x,y,z = getElementPosition (source) setVehicleRotation (getElementData (source, "hisCar"), 0, 0, 0) setElementPosition (getElementData (source, "hisCar"), x+2,y,z +1) outputChatBox ("Car spawned.", source, 255, 0, 0) elseif not (getElementData (source, "hisCar")) then local accountData = getAccountData (getPlayerAccount (source), "funmodev2-car") if (accountData) then carID = getAccountData (getPlayerAccount (source), "funmodev2-car") x,y,z = getElementPosition (source) vehicle = createVehicle (carID, x +2, y, z +1) setElementID (vehicle, getAccountName (getPlayerAccount(source))) setElementData (source, "hisCar", vehicle) outputChatBox ("Car spawned.", source, 255, 0, 0) if (getAccountData (getPlayerAccount(source), "funmodev2-carupg")) then local upgrades = nil local upgrades = {} local upgrades = getAccountData (getPlayerAccount(source), "funmodev2-carupg") for i,v in ipairs (upgrades) do addVehicleUpgrade (vehicle, v) end end if (getAccountData (getPlayerAccount(source), "funmodev2-paintjob")) then local paintjob = getAccountData (getPlayerAccount(source), "funmodev2-paintjob") setVehiclePaintjob (vehicle, paintjob) end if (getAccountData (getPlayerAccount(source), "funmodev2-carcolor1")) and (getAccountData (getPlayerAccount(source), "funmodev2-carcolor2")) then local c1 = getAccountData (getPlayerAccount(source), "funmodev2-carcolor1") local c2 = getAccountData (getPlayerAccount(source), "funmodev2-carcolor2") setVehicleColor (vehicle, c1,c2,0,0) end else outputChatBox ("You haven't got a car.", source, 255, 0, 0) end else outputChatBox ("You're already in a car!", source, 255, 0, 0) end end end addEventHandler ("carSpawn", getRootElement(), carSpawn) function carDestroy () if not (isGuestAccount (getPlayerAccount (source))) then if (isPedInVehicle (source)) then if (getElementID(getPedOccupiedVehicle(source)) == getAccountName (getPlayerAccount(source))) then setElementHealth (getElementData (source, "hisCar"), 0) destroyElement (getPedOccupiedVehicle (source)) removeElementData (source, "hisCar") outputChatBox ("Car Destroyed.", source, 255, 0, 0) else outputChatBox ("This not your car!", source, 255, 0, 0) end elseif (not (isPedInVehicle (source))) and (getElementData (source, "hisCar")) and (getElementData (source, "hisCar") ~= nil) then setElementHealth (getElementData (source, "hisCar"), 0) outputChatBox ("Car Destroyed.", source, 255, 0, 0) removeElementData (source, "hisCar") end end end addEventHandler ("carDestroy", getRootElement(), carDestroy) addEventHandler ("onVehicleExplode", getRootElement(), function() local theOwner = getAccountName (getPlayerAccount(getPlayerFromName (getElementID (source)))) if (theOwner) then removeElementData (theOwner, "hisCar") end end) addEventHandler ("onPlayerQuit", getRootElement(), function(quitType, reason, responsibleElement) if (getElementData (source, "hisCar")) then blowVehicle (getElementData (source, "hisCar")) removeElementData (source, "hisCar") end end) addEventHandler( "onResourceStop", getResourceRootElement( getThisResource() ), function () for i,v in ipairs (getElementsByType ("player")) do if (getElementData (v, "hisCar")) then setElementHealth (getElementData (v, "hisCar"), 0) removeElementData (v, "hisCar") end end end ) function destroyOnExplode () setTimer (destroyElement, 2500, 1, source) end addEventHandler ("onVehicleExplode", getRootElement(), destroyOnExplode) client GUIEditor_Label = {} theWindow = guiCreateWindow(600,200,200,70,"Car Features",false) guiWindowSetSizable(theWindow,false) guiSetVisible (theWindow, false) guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false) guiSetFont(GUIEditor_Label[1],"default-bold-small") spawnBut = guiCreateButton(0.0604,0.320,0.4,0.6,"Spawn",true,theWindow) destroyBut = guiCreateButton(0.490,0.320,0.4,0.6,"Destroy",false,theWindow) function resourceStart () bindKey ("F3", "down", menuShow) end addEventHandler ("onClientResourceStart", getResourceRootElement ( getThisResource () ), resourceStart) function menuShow () visableornot = guiGetVisible (theWindow) if (visableornot == true) then guiSetVisible (theWindow, false) showCursor (false) end if (visableornot == false) then guiSetVisible (theWindow, true) showCursor (true) end end addEvent ("carSpawn", true) addEvent ("carDestroy", true) function guiClick (button, state, absoluteX, absoluteY) if (source == spawnBut) then triggerServerEvent ("carSpawn", getLocalPlayer()) elseif (source == destroyBut) then triggerServerEvent ("carDestroy", getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick)
-
بس انا بدي اعمل السيرفر على موقع استضافته يعني ما في shell
-
طبعا طلبي صعب شوي بس ارجوا المساعدة i wanna mtasa control panel for linux thats can start .stop server thanks all
-
ابي اتعلم (العلم نور والجهل ظلام) شباب تكفون ادخلو
Machine replied to faisl2002's topic in Arabic / العربية
اخي ما بدي منك تزعل بس طلبك غبي لانه ما تفكر البرمجة عملية سهلة عملية البرمجة بدها تعلم وتعب ودورات ومصاري انا ما بدي اياك تحس انه ما في حدا يساعدك بالعكس انا لما اخلص دورة ليو رح اعطيك اياها ببلاش مقابل الدعاء وانا متاسف اذا كنت زعلت من كلامي -
رجال ,, استـفسـار عــــن تحميل العبه بســـــــــــــــــــيط
Machine replied to Dr444's topic in Arabic / العربية
اخي اصبر علي يوم يومين واعطيك اللعبة كاملة من دون الحاجة الى كراك والملف تورنت بس اصبر علي -
اخي العزيز اتفضل من قبل الاخ عدنان http://www.mediafire.com/?8691c1yp7smuy3d
-
هل من الممكن ان اساعدك في map editor وتغيير mode لاني شاطر فيهن
-
هل يمكنني عمل سيرفر mta على استضافة مجانية؟
Machine replied to baselsayeh's topic in Arabic / العربية
تقدر تعمل سيرفر مجاني وكمان على مدار الساعة من خلال ابقاء كمبيوترك شغال دايما ويكون مشبوك على سرعة عالية من النت اي استفسار او مساعدة انا جاهز -
حلك بسيط احذف البرنامج ورد نزله
-
هل يمكنني عمل سيرفر mta على استضافة مجانية؟
Machine replied to baselsayeh's topic in Arabic / العربية
والله يا اخوي صعب جدا ومستحيل ببلاش بس تقدر تعمل تجربة مجانية من خلال هذا https://www.serverffs.com/free/ -
man i wanna when when gui show show cursor and when close gui hide corsor can help with code
-
welll it work but how can we hide mouse when we close the gui lol mouse is still even when gui close thats bad man
-
GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(121,179,749,545,"",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(13,19,727,517,false,GUIEditor_Window[1]) Stats = guiCreateTab("Stats",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(470,303,257,188,"images/mtalogo.png",false,Stats) Shop = guiCreateTab("Shop",GUIEditor_TabPanel[1]) Nitro = guiCreateButton(13,18,131,58,"Nitro",false,Shop) GhostMode = guiCreateButton(168,18,131,58,"GhostMode",false,Shop) Repair = guiCreateButton(12,91,131,58,"Repair",false,Shop) Hunter = guiCreateButton(13,162,131,58,"Hunter",false,Shop) Hydra = guiCreateButton(13,230,131,58,"Hydra",false,Shop) Barrel = guiCreateButton(168,92,131,58,"Barrel",false,Shop) Hay = guiCreateButton(169,163,131,58,"Hay",false,Shop) Motor_Strike = guiCreateButton(168,231,131,58,"Motor Strike",false,Shop) GUIEditor_Image[2] = guiCreateStaticImage(411,89,312,202,"images/shruk.png",false,Shop) Settings = guiCreateTab("Settings",GUIEditor_TabPanel[1]) GUIEditor_Image[3] = guiCreateStaticImage(429,101,279,214,"images/mtalogo.png",false,Settings) Calculator = guiCreateTab("Calculator",GUIEditor_TabPanel[1]) Games = guiCreateTab("Games",GUIEditor_TabPanel[1]) GUIEditor_Image[4] = guiCreateStaticImage(516,244,210,149,"images/mtalogo.png",false,Games) Rules = guiCreateTab("Rules",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(2,32,441,223,"(1)~ No Cheating OR Hacks",false,Rules) guiSetFont(GUIEditor_Label[1],"sa-header") GUIEditor_Label[2] = guiCreateLabel(3,80,385,49,"(2)~ No Spam Or Flood",false,Rules) guiSetFont(GUIEditor_Label[2],"sa-header") GUIEditor_Label[3] = guiCreateLabel(1,129,467,56,"(3)~ Respect Admins and Players",false,Rules) guiSetFont(GUIEditor_Label[3],"sa-header") Chat = guiCreateTab("Chat",GUIEditor_TabPanel[1]) GUIEditor_Image[5] = guiCreateStaticImage(474,179,251,197,"images/mtalogo.png",false,Chat) Bank = guiCreateTab("Bank",GUIEditor_TabPanel[1]) GUIEditor_Image[6] = guiCreateStaticImage(493,177,234,190,"images/mtalogo.png",false,Bank) Music = guiCreateTab("Music",GUIEditor_TabPanel[1]) GUIEditor_Image[7] = guiCreateStaticImage(479,151,246,209,"images/mtalogo.png",false,Music) function ToggleMenu () guiSetVisible ( GUIEditor_Window[1] , not guiGetVisible ( GUIEditor_Window[1] ) ) end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) bindKey("F6","down",ToggleMenu) This Work 100% but wheres mouse for changing the taps theres no mouse botton to click
-
if you wanna earn money use he give me money with a timer https://community.multitheftauto.com/index.php?p= ... ils&id=551
-
and this dont work GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(121,179,749,545,"",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(13,19,727,517,false,GUIEditor_Window[1]) Stats = guiCreateTab("Stats",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(470,303,257,188,"images/mtalogo.png",false,Stats) Shop = guiCreateTab("Shop",GUIEditor_TabPanel[1]) Nitro = guiCreateButton(13,18,131,58,"Nitro",false,Shop) GhostMode = guiCreateButton(168,18,131,58,"GhostMode",false,Shop) Repair = guiCreateButton(12,91,131,58,"Repair",false,Shop) Hunter = guiCreateButton(13,162,131,58,"Hunter",false,Shop) Hydra = guiCreateButton(13,230,131,58,"Hydra",false,Shop) Barrel = guiCreateButton(168,92,131,58,"Barrel",false,Shop) Hay = guiCreateButton(169,163,131,58,"Hay",false,Shop) Motor_Strike = guiCreateButton(168,231,131,58,"Motor Strike",false,Shop) GUIEditor_Image[2] = guiCreateStaticImage(411,89,312,202,"images/shruk.png",false,Shop) Settings = guiCreateTab("Settings",GUIEditor_TabPanel[1]) GUIEditor_Image[3] = guiCreateStaticImage(429,101,279,214,"images/mtalogo.png",false,Settings) Calculator = guiCreateTab("Calculator",GUIEditor_TabPanel[1]) Games = guiCreateTab("Games",GUIEditor_TabPanel[1]) GUIEditor_Image[4] = guiCreateStaticImage(516,244,210,149,"images/mtalogo.png",false,Games) Rules = guiCreateTab("Rules",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(2,32,441,223,"(1)~ No Cheating OR Hacks",false,Rules) guiSetFont(GUIEditor_Label[1],"sa-header") GUIEditor_Label[2] = guiCreateLabel(3,80,385,49,"(2)~ No Spam Or Flood",false,Rules) guiSetFont(GUIEditor_Label[2],"sa-header") GUIEditor_Label[3] = guiCreateLabel(1,129,467,56,"(3)~ Respect Admins and Players",false,Rules) guiSetFont(GUIEditor_Label[3],"sa-header") Chat = guiCreateTab("Chat",GUIEditor_TabPanel[1]) GUIEditor_Image[5] = guiCreateStaticImage(474,179,251,197,"images/mtalogo.png",false,Chat) Bank = guiCreateTab("Bank",GUIEditor_TabPanel[1]) GUIEditor_Image[6] = guiCreateStaticImage(493,177,234,190,"images/mtalogo.png",false,Bank) Music = guiCreateTab("Music",GUIEditor_TabPanel[1]) GUIEditor_Image[7] = guiCreateStaticImage(479,151,246,209,"images/mtalogo.png",false,Music) addEventHandler ("onClientGUIClick", getRootElement(), guiClick) bindKey("F6","down",ToggleMenu)
-
yes i did can give me code for making it show and hide working 100%
-
i make a gui and it show up but when i prees f2 its dont be invisble and hiden. look! addEventHandler('onClientResourceStart', g_ResRoot, function() fadeCamera(true) setTimer(getPlayers, 1000, 1) bindKey('f2', 'down', toggleFRWindow) createWindow(wndMain) hideAllWindows() guiCheckBoxSetSelected(getControl(wndMain, 'jetpack'), doesPedHaveJetPack(g_Me)) guiCheckBoxSetSelected(getControl(wndMain, 'falloff'), canPedBeKnockedOffBike(g_Me)) setJetpackMaxHeight ( 9001 ) triggerServerEvent('onLoadedAtClient', g_ResRoot, g_Me) end ) GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(121,179,749,545,"",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(13,19,727,517,false,GUIEditor_Window[1]) Stats = guiCreateTab("Stats",GUIEditor_TabPanel[1]) GUIEditor_Image[1] = guiCreateStaticImage(470,303,257,188,"images/mtalogo.png",false,Stats) Shop = guiCreateTab("Shop",GUIEditor_TabPanel[1]) Nitro = guiCreateButton(13,18,131,58,"Nitro",false,Shop) GhostMode = guiCreateButton(168,18,131,58,"GhostMode",false,Shop) Repair = guiCreateButton(12,91,131,58,"Repair",false,Shop) Hunter = guiCreateButton(13,162,131,58,"Hunter",false,Shop) Hydra = guiCreateButton(13,230,131,58,"Hydra",false,Shop) Barrel = guiCreateButton(168,92,131,58,"Barrel",false,Shop) Hay = guiCreateButton(169,163,131,58,"Hay",false,Shop) Motor_Strike = guiCreateButton(168,231,131,58,"Motor Strike",false,Shop) GUIEditor_Image[2] = guiCreateStaticImage(411,89,312,202,"images/shruk.png",false,Shop) Settings = guiCreateTab("Settings",GUIEditor_TabPanel[1]) GUIEditor_Image[3] = guiCreateStaticImage(429,101,279,214,"images/mtalogo.png",false,Settings) Calculator = guiCreateTab("Calculator",GUIEditor_TabPanel[1]) Games = guiCreateTab("Games",GUIEditor_TabPanel[1]) GUIEditor_Image[4] = guiCreateStaticImage(516,244,210,149,"images/mtalogo.png",false,Games) Rules = guiCreateTab("Rules",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(2,32,441,223,"(1)~ No Cheating OR Hacks",false,Rules) guiSetFont(GUIEditor_Label[1],"sa-header") GUIEditor_Label[2] = guiCreateLabel(3,80,385,49,"(2)~ No Spam Or Flood",false,Rules) guiSetFont(GUIEditor_Label[2],"sa-header") GUIEditor_Label[3] = guiCreateLabel(1,129,467,56,"(3)~ Respect Admins and Players",false,Rules) guiSetFont(GUIEditor_Label[3],"sa-header") Chat = guiCreateTab("Chat",GUIEditor_TabPanel[1]) GUIEditor_Image[5] = guiCreateStaticImage(474,179,251,197,"images/mtalogo.png",false,Chat) Bank = guiCreateTab("Bank",GUIEditor_TabPanel[1]) GUIEditor_Image[6] = guiCreateStaticImage(493,177,234,190,"images/mtalogo.png",false,Bank) Music = guiCreateTab("Music",GUIEditor_TabPanel[1]) GUIEditor_Image[7] = guiCreateStaticImage(479,151,246,209,"images/mtalogo.png",false,Music)
-
hi i wanna make a mode for skin but skin need dff and i only know how to make mode for txd how i make for dff