Jump to content

Search the Community

Showing results for tags 'health'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 7 results

  1. setPedStat(getLocalPlayer(), 24, 650) setPedMaxHealth(getLocalPlayer()) These commands do not want to work, do not show any errors. But unfortunately it doesn't set my health at around 125 points, it just sets me to 100 HP Maybe bug? pls help
  2. Regeneration (health) This resource lets you regenerate player and vehicle* health. It is not an unique idea, I know... but there weren't good implementations for it at the community resource list. So that's why I share this with YOU. * Vehicle regeneration for the driver only. Version 1.0.0 Not compiled! Smooth health regeneration No UI, just the manager Settings (Admin panel) Settings Regeneration [on/off] (player/vehicle) Regeneration value (player/vehicle) Regeneration delay (player/vehicle) Regeneration [on/off] while the vehicle is burning Download link: https://community.multitheftauto.com/?p=resources&s=details&id=15757 Take a quick look into the source code (v1.0.0) Client Server Meta
  3. Привет всем! Не знаю как правильно написать скрипт Нужно сделать так, чтобы делалось 100 хп, если хп меньше 10. Буду рад помощи
  4. My code: local stat = getPedStat (getLocalPlayer(), 24) local health = math.floor( getElementHealth( getLocalPlayer() )) if stat > 1000 then dxDrawRectangle(x*33, y*729, x*130, y*12, tocolor(0,0,0,40), false) dxDrawRectangle(x*35, y*731, x*126/200*health, y*8, tocolor(65,255,65,200), false) else dxDrawRectangle(x*33, y*729, x*130, y*12, tocolor(0,0,0,40), false) dxDrawRectangle(x*35, y*731, x*126/100*health, y*8, tocolor(65,255,65,200), false) end dxDrawRectangle(x*167, y*729, x*62, y*12, tocolor(0,0,0,40), false) dxDrawRectangle(x*234, y*729, x*62, y*12, tocolor(0,0,0,40), false)
  5. Dear users, I'm trying to set via scripting the player's max health and health. I execute these commands: setPedStat(me, 24, 1000) setElementHealth(me, 1000) But when I try to retrieve my ped's current health, I get 200, also if the health's progress bar is full. Is this a bug? Or I done a mistake? Thanks
  6. Ola Galera do fórum, Estou com dificuldade de fazer uma função para detectar ganho na vida, tipo se a vida esta em 70% ela for setada pra 90% como eu faço para pegar os 20% de Ganho da vida setada ? eu sei como faço para pegar a perda de vida que é o loss no comando do playerdamage, mas para ganho de vida eu não sei se existe comando ou tem que fazer na gambiarra. Obrigado esperando respostas.
  7. Guest

    Request 2

    Hi ! Can someone do me a favor and make a script that vehicle that has 3000 health like in gta 5 because im angry at gta san andreas because cars explode too fast...
×
×
  • Create New...