Search the Community
Showing results for tags 'health'.
-
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 replies
-
- health
- max health
-
(and 6 more)
Tagged with:
-
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
-
Привет всем! Не знаю как правильно написать скрипт Нужно сделать так, чтобы делалось 100 хп, если хп меньше 10. Буду рад помощи
-
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)
-
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
-
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.
- 5 replies
-
- detects gain health
- gain health
-
(and 1 more)
Tagged with:
-
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...
- 18 replies
-
- vehicle
- morehealth
-
(and 1 more)
Tagged with: