Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 17/09/17 in all areas

  1. شكراً لكم جميعا, انتم أغلى الناس بدعمكم هذا وبقاءكم عليه أتمنى التوفيق للجميع في كل شيء في أمان الله.
    2 points
  2. العفوا كفوك , حياك بأي وقت مايحتاج بكل موداتي مسوي كذا . وشكرا لك اخوي
    2 points
  3. La cosa es que te falta un end. local veh = getPedOccupiedVehicle(localPlayer) speedx, speedy, speedz = getElementVelocity ( veh ) actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5) kmh = actualspeed * 180 function Inicio (element) if element == localPlayer then if (kmh) <= 20 then --Si es menor o igual a 20Km/h if veh then setElementFrozen ( veh, true ) --freez if timer then killTimer(timer) timer = nil end timer = setTimer(SiguienteMarker, 3000, 1) --Que freeze, espere 3 segundos y siga el otro marker end end end end
    2 points
  4. السلام عليكم الحين جبتلكم سكربت بسيط لسيرفرات الزومبي الي هو سكربت شراء دم + درع طبعا ادري انه سهل لاكن في ناس تحتاجه صور السكربت 1 - 2 - ____________________________________________________________________________________________________ لتحميل السكربت : اضغط هنا لتحميل الجيو ميسج : ااضغط هنا ____________________________________________________________________________________________________ الاهدائات @#KENDER @MR.StoRm @Abu-Solo @#Soking ____________________________________________________________________________________________________ اتمني السكربت يكون اعجبكم ويلا مع السلامة
    1 point
  5. HUD BÁSICO PERSONALIZABLE Estaba algo aburrido así que hice un pequeño hud básico personalizable para la comunidad. No es la gran cosa ni es lo más currado del mundo pero bah, quizás a alguien le pueda servir para su servidor o puedan sacar cosas del código para usarlas. Quiero ir actualizando este script y agregarle estilos de hud y cosas así pero eso más adelante. Aquí os dejo un pequeño video del sistema para que veais cómo funciona y tal. Dadme sugerencias. Descargar: http://www116.zippyshare.com/v/W15rYYe8/file.html
    1 point
  6. بسم الله الرحمن الرحيم اليوم جايبلكم شرح وظيفة createEffect Client Only اول شي الفنكشن Syntax نيجي الحين لل effect createEffect ( string name, float x, float y, float z [, float rX, float rY, float rZ, float drawDistance = 0 ] ) string name = هنا يقصد سترينج ثم اسم التأثير https://wiki.multitheftauto.com/wiki/Element/Effect#Effects_list لمعرفة اسماء التأثيرات خش هذا اللينك float x , float y , float z = الاحداثيات x,y,z --- مثال 1 addCommandHandler("تاثير", function() createEffect("wallbust", -709.07355,962.01721,12.45613) outputChatBox("تم صنع تأثير",255,255,0,true) end ) وهنا اول مثال نبيه اول م اللاعب يكتب في اف 8 تاثير يجيله التأثير في الاحداثيات الي قدامه صورة : مثال 2 addCommandHandler("effect", function() local x, y, z = getElementPosition(localPlayer) createEffect("flamethrower", x, y, z) outputChatBox("تم صنع التأثير",255,255,0,true) end ) في اف 8 يجيله تأثير نار effect هنا نبيه اول م يكتب كلمة صورة : اتمني الشرح يكون اعجبكم ويلا مع السلامة
    1 point
  7. 1 point
  8. string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string:gsub("#%x%x%x%x%x%x", ""), "$player", (getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") or getPlayerName ( player )) ) end تم التعديل
    1 point
  9. ايوا تمام مشكور اشتغل بس فيه مشكله بسيطة. اني لو شلت الأكواد من اسمي يظهر $player ولو حطيت الاكواد يظهر تمام وميه ميه ليش كذا
    1 point
  10. انت ركز بالسطر حقي مانسخته زين انا معدل فيه string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string:gsub("#%x%x%x%x%x%x", ""), "$player", getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") ) end
    1 point
  11. لا جرب ذا وتأكد انا مجربه بنفسي انت انسخ السطر حقي فقط وامسح تعديلك
    1 point
  12. لا م في شيء افهمني ي غالي انا الحين صكيتك ميوت عادي و الأسم فيه اكواد الوان بيجي كذا طبيعي #000000Le3bA has been muted by #999999NexT لين احط بدون اكواد يجي كذا $player has been muted by NexT والحين افترض, انا ابي اسم الادمن يجي بدون اكواد ؟
    1 point
  13. نفس الأكواد بس شيل منهم حق فكشن جلب أسم اللاعب :gsub("#%x%x%x%x%x%x", "")
    1 point
  14. لا مب عادي، الفنكشن يطلب رقم وانت تعطيه سترنق انا اصلاً مستغرب كيف اشتغل معاه
    1 point
  15. -- client guiGridListSetItemText guiGridListSetItemData "onClientGUIClick" guiGridListGetSelectedItem guiGridListGetItemData triggerServerEvent -- server addEvent addEventHandler createVehicle warpPedIntoVehicle outputChatBox
    1 point
  16. و حتي هدا كود triggerEvent ( 'aRefresh_' , source ) بدل source الي root
    1 point
  17. Try this : https://pastebin.com/kewmytZY
    1 point
  18. put your fr_client.lua here
    1 point
  19. @IIYAMA setWeaponOwner is not working but i'm used the event and some checks and is working know thank you
    1 point
  20. With: https://wiki.multitheftauto.com/wiki/SetWeaponOwner ? Then it is probably a bug. You could try to fix it with: https://wiki.multitheftauto.com/wiki/OnClientWeaponFire
    1 point
  21. Go to freeroam open up the file then open fr_client.lua and add this in line 8 setElementData( g_Me, 'isWarpIntoEnabled', nil ) setElementData( g_Me, 'isWarpEnabled', nil ) and Go to to into fall of bike and add this : {'chk', id='togglewarptme', text='Disable Warping', onclick=togglewarptome, width=1000, height = 20}, {'br' }, after that replace the old script in Warp to player window to : --------------------------- -- Warp to player window --------------------------- function warpInit() local players = table.map(getElementsByType('player'), function(p) return { player = p, name = getPlayerName(p) } end) table.sort(players, function(a, b) return a.name < b.name end) bindGridListToTable(wndWarp, 'playerlist', players, true) end function warpTo(leaf) if not leaf then leaf = getSelectedGridListLeaf(wndWarp, 'playerlist') if not leaf then return end end if isElement(leaf.player) then if ( getElementData( leaf.player, 'isWarpEnabled' ) == 'false' ) then outputChatBox( 'Error, You cannot warp to this player', 255, 0, 0, true ) return end server.warpMe(leaf.player) end closeWindow(wndWarp) end wndWarp = { 'wnd', text = 'Warp to player', width = 300, alpha = 1.0, controls = { { 'lst', id='playerlist', width=280, height=330, columns={ {text='Player', attr='name'} }, onitemdoubleclick=warpTo }, {'btn', id='warp', onclick=warpTo}, {'btn', id='cancel', closeswindow=true} }, oncreate = warpInit } function warpToCommand(cmd, player) if player then player = getPlayerFromName(player) if player then server.warpMe(player) end else createWindow(wndWarp) showCursor(true) end end addCommandHandler('warpto', warpToCommand) addCommandHandler('wt', warpToCommand) it's working 100% ,hope you will got it
    1 point
  22. اسم الانمي : New Game! بالعربية : لعبة جديدة الحالة : مستمر (جزء ثاني) ض المواسم : 2 عدد حلقات الموسم الاول : 12 وحلقة اوفا عدد حلقات الموسم الثاني : مستمر نزل 10 للان تقييم الجزء الاول : 7.36 تقييم الجزء الثاني : 8.26 سنة نزول الجزء الاول : 2016 سنة نزول الجزء الثاني : 2017 النوع : كوميديا, شريحة من الحياة القصة : تدور القصة حول فتاة تدخل لشركة ايجل جامب وهي شركة شهيرة في صنع العاب لتعمل على لعبة جديدة القصة باختصار عن حياة الشخصية وهي تحاول صنع الشخصية وحياتها في العمل ======================================== الاسم الانمي : Re:Creators حالة الانمي : مستمر عدد الاجزاء : 1 سنة الانتاج : صيف 2017 عدد الحلقات : 21 تقييم الانمي : 7.86 النوع : أكشن , فوق الطبيعة, مغامرات القصة : فتاة غربية ترتدي زي عسكري تقوم بأخراج شخصيات الانمي , والالعاب للعالم الواقعي وتأمرهم بمساعدتها بطل القصة هو فتى وهو يشاهد الانمي المفضل له يجد بان الشخصية التي كان يشاهدها تظهر له في العالم الحقيقي ما عارف وش اكتب اكثر بالقصة تابعوا وتعرفوا ض
    1 point
  23. Can't do it now XD. But you can create a label above the edit.
    1 point
  24. You will need to create a table for each player containing the inv items and store it somewhere for example element data and loop that table instead of the newInvItems
    1 point
  25. للدول و الشركات التالية SMS ممكن خصم رصيد عبر Orange تونس Zain و Umniah و Orange الأردن tapl_93 للدفع تواصل معي عبر سكايب
    1 point
  26. addEventHandler("onClientGUIClick",root, -- حدث الضغط علي الزر function( ) -- الوظيفة if ( source == اسم الزر ) then -- التحقق من اسم الزر -- Your Code end end) + تبي تسوي الوظيفة مثال بسيط function messageAll (message) outputChatBox(message) end
    1 point
  27. addEventHandler("onClientGUIClick",root, -- حدث الضغط علي الزر function( ) -- الوظيفة if ( source == اسم الزر ) then -- التحقق من اسم الزر -- Your Code end end)
    1 point
  28. DOWNLOAD: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14512 This script allows you to detect Ban evaders who change IP or serial to try evade bans, it can fight:- Dynamic IP's (or static..)- changed (new) serialsHow? By resolving the IP hostname when they connect.You can choose to 'log' the connections (flag option) when a player connects with a defined hostname, which means Internet Provider hostname, so you can investigate if they are who you think they might be.VPN hostname: looks like; datacenter1.vpnworks.net (example; you would then block or log use of a specific proxy/VPN program if many ban evaders use it)Home internet connection; looks like: (develop a sense for how they often look) customer17135.ippool.t-mobile.com (you can both list the customer-or pool specific hostname (before the first dot); this to avoid logging or blocking innocent unrelated players, OR if they are (almost) the only using that Internet provider or VPN software, log or block general hostname ('ippool.t-mobile.com' as for fictive example) If you know one problematic ban evader uses one internet provider usually (ISP) you check the hostname of that IP and add it to the flag list, then when someone connects using this matching hostname, it will print a warning to server.log and you can investigate: - Does the player behave as the banned player? - Is he with the same friends or does he talk similarly, IS HE clearly the same person? This resource basically give you usable leads in order to identify these ban evaders; it provides you with suspects, based on Internet provider or customer account hostname, so you can start analyzing if they are the same person. It can also block the connection automatically instead of only logging a warning of the suspicious player connecting. Besides the lead-giving to investigate, if you got problematic ban evader(s) who mainly use the same VPN/proxy program that uses often specific hostnames of Datacenters/the VPN company, or the same Internet provider hostname or the evader himself has a Dynamic public IP, BUT.. a static hostname (like based upon f.e, customer82423.pool.telecomalgeria.com) you can define and nail them on this static hostname that belongs to the ISP provider customer who has the internet/DSL account. (aka, the same person). As said before, be careful by analyzing the specific use of hostnames to see how many potentially legit players you could hurt. It's the best choice to go for Flagging only and not refusing connections, so you can look on a case by case basis if the player seems to be the same as the ban evader; and then re-ban the new evading serial or IP's. This resource will prove to be a reliable tool. IMPORTANT!! You MUST have a bit of experience with web-hosting in order to get this resource working! It will NOT work straight out of the box, you'll need to host a resolver API (PHP) file on the web. This .php file is included, together with extensive README (documentation) for you to understand why this is required, and assist in setting the resource up. See below a copy of this documentation: (spoiler)
    1 point
  29. Podría servirte esa función https://wiki.multitheftauto.com/wiki/FetchRemote
    1 point
  30. es por que estas tomando la velocidad al iniciar el resource debes acomodar la parte donde tomas la velocidad en tu función donde freezeas el vehiculo
    1 point
  31. 50% of problems (like crashes and AC kicks/errors) are caused by viruses interfering with MTA. INSTALL ANTI-VIRUS and make sure REAL TIME SCANNING is ENABLED. DO NOT ASK FOR SUPPORT WITHOUT ANTI-VIRUS INSTALLED Free anti-virus products: Bitdefender Antivirus Free AVG AntiVirus Free Kaspersky Security Cloud Free Free anti-malware products: Malwarebytes RUN BOTH ANTI-VIRUS AND ANTI-MALWARE FULL SCANS AFTER DOWNLOADING THEM, BEFORE ASKING FOR HELP!
    1 point
  32. string = tostring ( string ) string = string.gsub ( string, "$admin", getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4all", isAnonAdmin4All( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$by_admin_4plr", isAnonAdmin4Victim( admin ) and "" or " by " .. getPlayerName ( admin ) ) string = string.gsub ( string, "$data2", more or "" ) if ( player ) then string = string.gsub ( string, "$player", getPlayerName ( player ):gsub("#%x%x%x%x%x%x", "") ) end حطيت كذا اهو جالي kendrick has been muted by #000000kendrick وبعدين اغير اسمي يجي $player has been muted by #000000kendrick
    0 points
  33. لا, قد جربت الحين وانت معي طلع الأول بدون اكواد والتاني اكواد الأدمن + جيت اغير اسمي جاء $player م جاء الأسم
    0 points
  34. روح للمسار C:\Windows System32 تلقى ملف اسمه احذفه ويرجعلك الحرف شغال صارت معي
    0 points
  35. 0 points
×
×
  • Create New...