Jump to content

Leaderboard

Popular Content

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

  1. كع ان اللعبة صارت قديمة ولاكنها في تطورات كثيرة حصلت مثل السيرفرات انا لا اجد الردود الجديدة في المنتدى العربي
    1 point
  2. Ah... Vc não me disse que era Client-Side o script. Achei que fosse Server-side. Mas tudo bem, que bom que funcionou. Deixa um like lá pra ajudar.
    1 point
  3. شكرآ انا استخدمت جوسون وانشاء الله الدنيا تظبط
    1 point
  4. 1 point
  5. Nice Script But Make Update To This In The Future Because It isnot Cool Exatlly
    1 point
  6. Could be a virus. Do you have an anti-virus installed? If you don't, please install one.
    1 point
  7. function Health (player) local hungerLvl = tonumber (getElementData (player, "Hunger")) if hungerLvl <= 0 then -- Se o jogador estiver com fome, então: local healthLvl = getElementHealth (player) hungerTimer = setTimer (function() -- Começa a matar 5 de HP a cada meio segundo. setElementHealth (player, healthLvl - 5) end, 500, 0) if healthLvl == 0 then -- Se o jogador não tem mais vida (morreu), então: if isTimer (hungerTimer) then killTimer (hungerTimer) -- Para de tirar a vida que ele nem tem. end end elseif isTimer (hungerTimer) then -- Se o jogador não estiver mais com fome, para de tirar a vida dele. killTimer (hungerTimer) end end
    1 point
  8. ياللهول يافتي لقد اصبحت اسطوره بلغتك الجديدة هذه ..ظظ
    1 point
  9. There's a Map Editor file called 'objects.xml' that has all objects IDs. You'll need to convert it to Lua, though, to avoid loops through the whole file.
    1 point
  10. Try setting a password for the root user in your phpMyAdmin. And please change to English language or translate the errors next time. And I already wrote that you should move the dbConnect out of the function, as you don't want to connect to it every single time it is called.
    1 point
  11. O seu código está subtraindo a hp do jogador mesmo com zero de vida. Use a função killPed quando a vida tiver zerada.
    1 point
  12. Hi there, this thread includes resources which were produced as semi products on working and research different techniques. Most of that resources wont be useable for your servers, but they´ll showing examples how to handle or create some stuff for it. A lot of resources uses OOP classlib of sbx320, so a special thanks goes to him. You can use it for waht ever you want and didnt need any permission! EDIT: The challenge to release 101 resources each day was cancelled by time. I´ll release planned resources more randomly now. 1.) DX-Fog example The resource today shows an example how to create animated dx-fog using OOP instances. Someone can need that as background of loading screens or any menus, maybe. Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10765 2.) Vehicle Damage Shader This resource creates a little effect (blurred sight, lost colours, heartbeat and noise sound) if you got damage by vehicle collision. Effect is appending by impact damage. Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10772 3.) Particle Objects (Groundfog) This resource creates a simple ground fog effect to simulate ingame particles. Particles using OOP-Instances. Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10784 4.) DX-Confetti Effect This resource creates a simple dx-confetti effect. Effect can be triggered by event "createConfetti" or by command "/confetti". Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10786 5.) Menu-fading with Pixelshaders This is a little example resource which demonstrate how create neat fade-in and fade-out effects using pixelshaders. Also test menu includes fog background of day 01 resource. With key "U" you can open or close menu!!! Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10788 6.) Server-synchronized and shadered billboards Simple resource showing server synchronized and shader faded billboards. Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10793 Greetings, Sam@ke
    1 point
  13. E também, se a pessoa for criar uma verificação simples, tipo um if getServerName() == "lasmdlk" then, vai ser muito vulnerável. Vai bastar apenas reescrever a função do MTA pra burlar: function getServerName() return "nome do server" end
    1 point
  14. addEventHandler("onClientPlayerVehicleEnter",root, function() local vehicle = getPedOccupiedVehicle(source) local x,y,z = getElementPosition(vehicle) sound = playSound3D("sound1.mp3",x,y,z,true) attachElements(sound,vehicle) end ) try this
    1 point
  15. Try use attachElements function startMySound(player) if isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) local x,y,z = getElementPosition(player) local sound = playSound3D("sound1.mp3",x,y,z,true) attachElements(sound,vehicle) -- It attach the sound to the vehicle end end addEventHandler("onClientVehicleEnter",getRootElement(),startMySound)
    1 point
  16. اسم الموضوغ : إنسـت هوسـت | سيرفرات مجانية | سيرفرات حياة واقعية | خوادم | دفع بـ سوا كيف دي سيرفرات مجانية | دفع بـ سوا ؟؟ تدفع على شي مجانا ههههههههه مع ان مافي شي مجانا في الموقع
    1 point
  17. السلام عليكم ورحمة الله وبركاتة اظن ان هذا سيكون اخر موضوع لي في الموقع اعلن اعتزالي الرسمي من اللعبة بسبب دخولي الجامعة وبسبب عدم وجود اوقات فراغ لدخول هنا وانشغالي في المجالات الاخره وانا اعتذر من كل شخص قد اسأت له هنا والسلام عليكم ورحمة الله
    0 points
  18. بص في مشكلة البينات مش بتتخزن ليييه ؟
    0 points
  19. السلام عليكم ورحمة الله تعالى وبركاته فيديو غيابي عن البرمجة واليوتيوب ولماذا لا أقوم برفع مقاطع الفيديو ونشر السكربتات إلى الناس أتمنى لكم حسن المشاهدة
    0 points
  20. سلام عليكم بدي كود يخي اسمي مزخرف فلوحة اعلى تواجد
    0 points
×
×
  • Create New...