Raised This Month: $ Target: $400
 0% 

How do i get user headshot ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-21-2009 , 05:13   Re: How do i get user headshot ?
Reply With Quote #6

Code:
#include <amxmodx>   public plugin_init() {         register_event("Damage", "eventDamage", "b", "2!0", "3=0", "4!0");         register_event("DeathMsg", "eventDeathMsg", "a", "1>0"); }   public eventDamage(iCl) {         // iDmg now holds the amount of damage done         new iDmg = read_data(2); }   public eventDeathMsg() {         new iHeadShot, szWeap[6];         read_data(3, iHeadShot);         read_data(4, szWeap, 5);           if (iHeadShot)         {                 // Head Shot was made         }           if (equal(szWeap, "knife"))         {                 // Knife kill was made         } }
Sorry, but can't help you with bomb.
__________________
hleV is offline
 



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 15:34.


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