Raised This Month: $ Target: $400
 0% 

Players with ADMIN_LEVEL_H can see bullet damage.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spiN-
Member
Join Date: Jul 2008
Location: Lithuania
Old 02-22-2009 , 11:24   Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #1

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?
spiN- is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-22-2009 , 11:35   Re: Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #2

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));         } }
__________________
hleV is offline
spiN-
Member
Join Date: Jul 2008
Location: Lithuania
Old 02-23-2009 , 07:04   Re: Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #3

Thanks. +karma to you.
spiN- is offline
BloodMan
Senior Member
Join Date: Apr 2008
Location: Lithuania
Old 06-24-2010 , 09:24   Re: Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #4

there's no karma here anymore.
__________________
BloodMan is offline
Send a message via Skype™ to BloodMan
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-24-2010 , 12:34   Re: Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #5

There probably was karma back the day he posted that.
__________________
hleV is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 06-24-2010 , 17:00   Re: Players with ADMIN_LEVEL_H can see bullet damage.
Reply With Quote #6

why bumping this?
__________________
I am out of order!
grimvh2 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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