AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Players with ADMIN_LEVEL_H can see bullet damage. (https://forums.alliedmods.net/showthread.php?t=86203)

spiN- 02-22-2009 11:24

Players with ADMIN_LEVEL_H can see bullet damage.
 
I'm creating plugin for my server. I need code that only admin's with ADMIN_LEVEL_H ("t" flag) can see bullet damage. Can some one post it? :wink:

hleV 02-22-2009 11:35

Re: Players with ADMIN_LEVEL_H can see bullet damage.
 
Code:
#include <amxmodx>   new g_HudSyncObj;   public plugin_init()         register_event("Damage", "Damage", "b", "2!0", "3=0", "4!0");   public plugin_cfg()         g_HudSyncObj = CreateHudSyncObj();   public Damage(Cl) {         static Attacker;         Attacker = get_user_attacker(Cl);           if (get_user_flags(Attacker) & ADMIN_LEVEL_H)         {                 set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, 7);                 ShowSyncHudMsg(Attacker, g_HudSyncObj, "%d^n", read_data(2));         } }

spiN- 02-23-2009 07:04

Re: Players with ADMIN_LEVEL_H can see bullet damage.
 
Thanks. :) +karma to you.

BloodMan 06-24-2010 09:24

Re: Players with ADMIN_LEVEL_H can see bullet damage.
 
there's no karma here anymore.

hleV 06-24-2010 12:34

Re: Players with ADMIN_LEVEL_H can see bullet damage.
 
There probably was karma back the day he posted that.

grimvh2 06-24-2010 17:00

Re: Players with ADMIN_LEVEL_H can see bullet damage.
 
why bumping this?


All times are GMT -4. The time now is 16:54.

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