Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/05/22 in all areas

  1. function damageController(loss) local heal = getElementHealth(source) - loss if heal <= 10 then setElementHealth(source,100) setPedArmor(source,100) end end addEventHandler("onPedDamage", root, damageController) Perhaps you need this ?
    1 point
  2. This can be done by adding an event and onPedDamage Do you want damage from the side of the weapon or the vehicle?
    1 point
  3. Moving this into the Scripting section. Please use this section in the future. onPedDamage is not registered by default. You need to use addEvent first to register it.
    1 point
  4. السلام عليكم ورحمة الله تعالى وبركاته أخباركم جميعاً عساكم بخير ------------------------------------------- اليوم جيت أتكلم عن الأشخاص بعض الكلمات المنتشرة كـ "مزح " وهي محرمه ومنتشره للأسف -------------------------------------------- أولاً: التحريف بأسماء الله عز وجل مثل " واللهي " , " سبهان الله " , "اللههه" للأسف هذا الشي منتشر عند الناس و يجب كتابة لفظ الجلالة بالشكل الصحيح ---------------------------------------------- ثانيا: سب الدهر (والعياذ بالله) مثل يلعن الوقت الي إحنا فيه(استغفر الله) حرام ولا يجوز لأن الله هو الدهر عن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: قال الله تعالى: يؤذيني ابن آدم يسبّ الدّهر وأنا الدّهر أقلّب الليل والنهار -------------------------------------------- والسلام عليكم ورحمة الله وبركاته
    1 point
  5. Disclaimer: This is aimed at MTA open source contributors only. Hi devs! If you're looking for support regarding MTA C++/module/resource development, or you have some ideas or want to discuss about MTA development related matters, come and join our dedicated MTA development Discord server at https://discord.com/invite/GNN6PRtTnu where we have dedicated channels for various topics. The server is English only. Non-development chatter is prohibited. Please note that the MTA development server is only for development matters. If you need help with your MTA client/server or scripting, or you just want to chat and hang around, please use our official Discord server instead at https://discord.com/invite/mtasa
    1 point
  6. Passo a passo de como indentar um código que veio sem indentação: Exemplo qualquer: 1. Adicione 4 espaços em tudo que estiver dentro da função principal, exceto a própria função e o end dela. Ela deve ficar assim: 2. Adicione mais 4 espaços em tudo que estiver depois do primeiro if, exceto o penúltimo end que pertence a ele. 3. Faça o mesmo com todos os if que tiverem dentro deste, um de cada vez. Vale lembrar que isso se aprende ao estudar lógica de programação e algoritmos. Curtiu este conteúdo? Achou ele útil para você ou para alguém? Deixe seu like neste tópico clicando no coração abaixo. \/
    1 point
  7. Please refer to the notice we sent you - click your profile and look to the left side
    0 points
  8. @VAGovod78, I'm sorry we don't have an answer for you but please avoid commenting on your appeal and instead use the edit button if you have anything additional to add. Thanks
    0 points
  9. to throw off 3 serial numbers in 8 hours is power ??
    0 points
×
×
  • Create New...