#include <amxmodx> #include <hamsandwich> #include <hlsdk_const> #define PLUGIN "Obrazenia" #define VERSION "1.0" #define AUTHOR "Zero" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_TakeDamage, "player", "obrazenia") } public obrazenia(id, Inflictor, Attacker, Float:Damage, DamageBits) { if((DamageBits & DMG_FALL) && Damage > 10) { new name[32] get_user_name(id,name,31) client_print(0, print_chat, "[DMG] %s stracil %d hp spadajac z wysokosci",name, floatround(Damage)); } }
A wiec tak Chcial bym aby
[DMG] %s stracil %d hp spadajac z wysokosci
Bylo w kolorze [DMG] Nick stracil xx HP spadajac z wysokosci
z GORY WIELKIE Dzięki !!