AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Health Plugin (https://forums.alliedmods.net/showthread.php?t=298835)

PurposeLessx 06-23-2017 17:23

Health Plugin
 
Hello friends,
I wanna fix the health that doesn't show more than +255 HP.
So I wanna the plugin like plugin in the photo.

http://i250.photobucket.com/albums/g...e_dust0000.png

jimaway 06-23-2017 17:35

Re: Health Plugin
 
you cant do that with an amxx plugin. that's either a client side mod or another game like counter-strike online or whatever

PurposeLessx 06-23-2017 17:47

Re: Health Plugin
 
But I saw that in a server. How did they do that ?

kristi 06-23-2017 17:52

Re: Health Plugin
 
I think it goes weird because your health is way tooo high and so it breaks all your hud down-left.

PurposeLessx 06-23-2017 17:59

Re: Health Plugin
 
Quote:

I think it goes weird because your health is way tooo high and so it breaks all your hud down-left.
Whattayu mean, man? So Couldn't I do that?

abdobiskra 06-23-2017 18:30

Re: Health Plugin
 
try this code from plugin zmobie HL1 by KORD
Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta_util> public plugin_init() {     register_message(get_user_msgid("Health"), "message_health") } // Fix for the HL engine bug when HP is multiples of 256 public message_health(msg_id, msg_dest, msg_entity) {     // Get player's health     static health     health = get_msg_arg_int(1)     // Don't bother     if(health < 256)         return         // Check if we need to fix it     if(health % 256 == 0)         fm_set_user_health(msg_entity, pev(msg_entity, pev_health) + 1)         // HUD can only show as much as 255 hp     set_msg_arg_int(1, get_msg_argtype(1), 255) }

CrazY. 06-23-2017 18:48

Re: Health Plugin
 
Really you're using fakemeta util?

PurposeLessx 06-23-2017 19:12

Re: Health Plugin
 
Unfortunately, It is not working.
I don't wanna 0 health fix plugin! I wanna show all health, doesn't wanna show just 255 HP even I have healths more than 255

OciXCrom 06-23-2017 19:19

Re: Health Plugin
 
It's not possible.

PurposeLessx 06-24-2017 06:19

Re: Health Plugin
 
Quote:

It's not possible.
Are you kidding me ? I said that I saw it in the server. It shows 12000 HP, doesn't show 255 HP.
And whatever happens, I want you to make this plugin and help me
Thanks.


All times are GMT -4. The time now is 22:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.