Jeżeli ktoś ma więcej HP niż 255 powinno pokazywać w HUD. A nie pokazuje. Zobaczcie i pomóżcie jak możecie
#include <amxmodx>
#define PLUGIN "ShowHP"
#define VERSION "1.0"
#define AUTHOR "deLL"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
set_task(0.5, "pokazHP", _,_, _, "b")
}
public pokazHP(id)
{
new hp = get_user_health(id)
if(hp > 255) {
set_hudmessage(255, 170, 0, 0.01, 0.89, 0, 6.0, 12.0)
show_hudmessage(id, "Twoje HP: %i", hp)
}
}


Dodatki SourceMod



Temat jest zamknięty











