Proszę
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
#define PLUGIN "cosik"
#define VERSION "1.0"
#define AUTHOR "DarkGL"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("StatusValue", "on_ShowStatus", "be", "1=2", "2!0");
register_event("StatusValue", "on_HideStatus", "be", "1=1", "2=0");
}
public on_ShowStatus(id){
new cel, body
get_user_aiming(id, cel, body)
if(cel != 0 && is_user_alive(id))
{
new name[64];
get_user_name(cel,name,63);
set_hudmessage(0, 255, 0, -1, -1, 0, 6.0, 7.0)
show_hudmessage(id, "|-HoFo-|%s | HP: %d |-HoFo-|",name,get_user_health(cel),get_user_armor(cel))
}
}
public on_HideStatus(id){
set_hudmessage(0, 0, 254, 0.28, 0.50, 0, 6.0, 99.0,0.0,0.0,1)
show_hudmessage(id, "")
}
| CPU: I7-6700K @4.7GHz | Cooling: Corsair H110 | GPU: MSI GTX 1080 Gaming X | MOBO: Asus Maximus VIII Hero | RAM: Kingston Savage 16GB DDR4 @2800MHz |
| SSD: Samsung 840 Pro 128GB | SSD2: Samsung 840 Pro 256GB | PSU: Be Quiet L8 630W | Case: Gladius M40 | Mouse: Gigabyte M6980X | Keyboard: Sharkoon SHARK ZONE K20 | Headphones: HyperX HX Cloud Black | Display: Triple LG 24MP67VQ-P |
TS3: ts.kreedzmania.pl - 512 Slotów - Darmowe Kanały