Jump to content

Leaderboard

Popular Content

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

  1. https://community.multitheftauto.com/index.php?p=resources&s=details&id=14568 Decided to go for a zombies script from scratch instead of relying on old and outdated ''zday'' zombies or slothboth. These zombies will follow you and try to kill you, once they get too close you'll be dead before you know it so make a good defense line. Location is open field near SF airport, zombies will only spawn and work inside that colshape. When player enters it (atleast one player must be there for any zombies to spawn and exist) he will see a stats window counting and saving his zombiekills, deaths and headshots on zombies. These stats will get saved to account if player is logged in. I will add a video demonstration soon. Zombie skins total size (34 gore skins): 250kb only (heavily optimized) and zombie moan/groan sound files about 77kbit each, no strain on client performance nor server (by the way, you can edit the amount of zombies and other variables in the beginning of zombies_s.lua;
    3 points
  2. كيف الحال انشاء الله بخير,, سويتلكم مود يمكن يكون حصري فـ النشر, وغير مشفر المود عبارة عن انك تقدر تتحكم في اللاعبين الموجودين في الديربي تقدر تعدل علي سريالك من ملف - Client ادري ان بيجي واحد يقول سيرفر سايد ومدري ايش, الزبده مابيصير مشاكل, 1 - اضافة خاصية طرد اللاعب من السيرفر مع سبب, 2 - اضافة خاصية وضع اي عالم اخر, 3 - وضع خاصية سحب سيارة + قتل اللاعب + مراقبة اللاعب 4 - اهم شئ, خاصية حظر اللاعب من الديربي, 5 - تم اضافة خاصية تجميد اللاعب وفك تجميد اللاعب ( جديد )ء طبعا لو تبي تحظر لاعب في الديربي بتخش ع ملف كلينت EDIT:V5 : تقدر تصكه حظر بإستخدام اللوحة هذي تقدر انك تضيف السريالات اللي تبي تحظرها, يجب اضافة المود لـ قروب الادمن لـ السماح بـ صك الاعب كيك يجب عليك وضع مود الديربي الموجود داخل الملف DX-DERBY او اذا عندك مود ديربي مختلف تقدر تعدل عليه عشان يظبط معـك الحظر الطريقة # خش علي ملف الديربي حقك وادخل علي ملف الـ سيرفر Server.lua بتلاقي فـ خامس سطر الكلام هذا if tostring(message) == "ديربي" and checkDuel(source) == "prestart" and ( not checkExistPlrOnDuel(source) ) then بتخليه كذا if tostring(message) == "ديربي" and checkDuel(source) == "prestart" and ( not checkExistPlrOnDuel(source) ) then if getAccountData(getPlayerAccount(source),'derbban') then if string.find(message,"ديربي") then return end end طبعا الخطوات هذي للناس اللي عندها مود ديربي غير اللي موجود مع الملف !! تم ازالة الاصدارات القديمة لوجود مشاكل بها!! لتحميل احدث اصدار , https://up.top4top.net/downloadf-803r1sxz1-zip.html لتحميل نسخة الديربي , https://up.top4top.net/downloadf-8034dst51-zip.html اي مشكلة تواجهكم قولوها فـ الخاص وانشاء الله احلها
    1 point
  3. Happy Spring Break! We have got a new release for you - Multi Theft Auto: San Andreas 1.5.4! This release includes security updates for the server that protect both you and us, so we recommend all server owners to upgrade as soon as possible - see the steps below for tips on that. Failure to do so may affect your server's visibility on the Master Server List in the ingame server browser. Aside from security fixes, there are some feature updates in this version for the client as well, so regular players are more than welcome to update. What do you need to do to upgrade your server properly Stop your server, then upgrade your server binaries like usual. You can also upgrade your server resources if you use any of the default MTA:SA ones. Start your server, and when it is running, stop your server again (This will step will ensure mtaserver.conf is upgraded) Edit your mtaserver.conf file, and find <owner_email_address> (it should be just below the <servername> parameter) and insert a valid e-mail address that we can use to contact you, should there be an issue with your server. This e-mail address IS NOT visible publicly and will only be used for means listed earlier. That is, only if those occur. Save the mtaserver.conf file, then start your server again. Release Highlights Authorized Serial Account Protection is now enabled by default. To put it simply, this feature prevents players from logging in to an account on the server if their serial differs from the serial associated with that account. Naturally, this feature is configurable so you can restrict it to specific account groups and you can authorize more than just one serial for a specific account. You can also disable this in the mtaserver.conf file if you are sure you do not need the feature. Database Credentials Protection is now enabled by default. passwordHash() & passwordVerify() can now be used to store and verify passwords securely and efficiently fetchRemote() now supports parallel downloads with the queue name parameter setWorldSpecialPropertyEnabled() now has settings for "sniper moon", "random foliage" and "extra air resistance" New scripting functions: get/setVehicleLODDistance() setElementDimension() now supports element omnipresence, which means that an element can be in all dimensions at once fixes for weapons/fists desync Corona markers should now have a correct attach offset position SQLite or MySQL no longer makes the server freeze if the connection is lost (#9520) Goggles no longer stay after player was killed (#9477) updates for CEF and other dependencies and redists fakelag command for testing sync issues fixes for some crashes and improvements for error handling for installation and startup issues removed max password length limit for server account passwords added server option to allow locally modified (gta3.img) vehicles added world special property "extraairresitance" to remove speed limiter on certain road sections (#7546) resource pack: various changes in acpanel, editor, freeroam, killmessages, playerblips, race and webbrowser ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r10623 upwards). List of changes to the resource pack can be found here (starting from and including Oct 29, 2016 upwards). Want to download MTA:SA 1.5.4? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with the 1.5.3 (also 1.5.2, 1.5.1 and 1.5). If you use these versions, then you may as well upgrade to the newest one. Credits for this release: 4O4, Arran, Dutchman101, einheit-101, Fernando, lopezloo, Necktrox, next, Noki_, qaisjp, ZReC ^ (Have you contributed to MTA:SA 1.5.4's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added ASAP) ^ Oh, and did you know that we have got our very own Discord server now? Click here for details on how to join our server. Take care. -- MTA Team
    1 point
  4. عفوا لك
    1 point
  5. addEvent("nobr", true) addEventHandler("nobr", root, function() local playerVehicle = getPlayerOccupiedVehicle (source) if playerVehicle then setTimer( function() fixVehicle( playerVehicle ) end,400,1) end end )
    1 point
  6. انت حاطط تايمر غير منتهي
    1 point
  7. With a little transformation, but work. Thanks
    1 point
  8. function findRotation( x1, y1, x2, y2 ) local t = -math.deg( math.atan2( x2 - x1, y2 - y1 ) ) return t < 0 and t + 360 or t end function getRightOrLeft(oldX, oldY, startX, startY, endX, endY) local rotZ1, rotZ2 = findRotation( oldX, oldY, startX, startY ), findRotation(startX, startY, endX, endY) local rotationOffsetZ = (rotZ1 - rotZ2 + 360) % 360; if (rotationOffsetZ > 180) then rotationOffsetZ = 360 - rotationOffsetZ else rotationOffsetZ = -rotationOffsetZ end return rotationOffsetZ > 10 and "right" or rotationOffsetZ < -10 "left" or "nothing" end So you have 3 positions... seriously... pffffff your really making it hard to help you. -- try to use this in your code iprint(getRightOrLeft(previousNode.x, previousNode.y, node.x, node.y, nextNode.x, nextNode.y)) --
    1 point
  9. i know SAAW is doing a great job on bringing the closest to real life War.You should defenitly try that out
    1 point
  10. تقدر تختصرها كذا addEventHandler ( 'onPlayerWeaponSwitch', root, function() toggleControl ( source, 'fire', getElementDimension(source) ~= 0 ) end)
    1 point
  11. New update added, changes: - This time actually made the promise of low server/client performance usage, true. More optimizations. (resource eats only about 0.15% server CPU now - Improved sync, added option to select syncer by lowest ping (disabled by default; change in variable .lua, may cause issues with players that have low FPSes..) - Added option to disallow players hurting eachother while in the zombie field (variable in clientside .lua, called 'noPVP') - Added option to respawn back players in the zombie-field when they die while in the area, at the hands of a zombie. (so only for participants) (variable in serverside .lua) - Adjusted position of player zombiekill stats and made its box scrollable if too many players join the area for it to fill up. New admin commands: - /wipefield (removes all players inside the zombiefield, you can use this for various purposes like many AFKers distracting zombies to their positions for no good) - /populate (selects and warps 5 random players to the zombie field; use with care, depending on your gamemode it may disrupt players if they get warped without asking for it; might be useful hosting zombiekill events) Bug fixes: - Fix limitation you could only headshot zombies. Now, you can shoot them anywhere on the body or blow them up.
    1 point
  12. Who would actually think that the problem might be with the command name..? I found out the hard way as well... You're welcome.
    1 point
  13. Yea... the command "test" cannot be used in MTA, your code looks fine and will work as soon as you change the command to something else, like "myaccount".
    1 point
  14. No matter how experienced you are, you always use the wiki, I have been scripting for years and I can never memorize the parameter list for dxDrawText and I don't actually have to.. Whenever I need something, I open the wiki and I can see the full list of needed/optional parameters. "Debug says it needs argument at argument 3, but I can't think of what to put there..." -> this is when you go to the wiki and look at the examples for that given function, fortunately almost all function have at least 1 example
    1 point
  15. بحدث اول ما الاعب يخرج تستخدم سويرس, انت مستخدم بلاير غيره ل سويرس local playerTeam = getPlayerTeam ( player ) --: local playerTeam = getPlayerTeam ( source )
    1 point
  16. A resource function example() --Something here end Its meta <export function="example" type="shared" /> The other resource exports.theNameOfTheResourceTheFunctionIsIn:example() -- or call()
    1 point
  17. if getElementData( source, "tempdata.check" ) then setTimer(respawnVehicle, 1000, 1, source) else destroyElement( source ) end
    1 point
  18. I'm pretty sure that I just changed the position of outputChatBox() and set it not to output to root but v - the player in that loop. This is not the most effective solution, but it works.
    1 point
  19. هذي تعتبر من الحروف الصالحة لتسمية المتغير local _ = "Hello" print(_) بس دايم نستخدمهم كدلالة اننا مانبغى القيمة هذي لكنها فعليا تخزن بالذاكرة
    1 point
  20. I feel like you should add some weight feel to it, that you'll walk slower while carrying the box.
    1 point
×
×
  • Create New...