Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <cstrike>
- new HUDEVENT
- public plugin_init() {
- set_task(1.0, "HUDINFO", _, _, _, "b")
- HUDEVENT = CreateHudSyncObj()
- }
- public HUDINFO() {
- for(new id = 0; id <= get_maxplayers(); id++) {
- if(is_user_connected(id) && is_user_alive(id)) {
- set_hudmessage(255, 255, 0, -1.0, 0.90, 0, 6.0, 1.0)
- ShowSyncHudMsg(id, HUDEVENT, "HEALTH: %d", get_user_health(id))
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement