Raised This Month: $ Target: $400
 0% 

How do i get user headshot ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-21-2009 , 21:38   Re: How do i get user headshot ?
Reply With Quote #10

Quote:
Originally Posted by Bugsy View Post
That is a comment, it is letting you know that is the location where you put your code to react when a headshot was made.. as you asked for in your original post.

Here is bomb kill
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
 
new g_iMaxPlayers;
 
#define IsEntity(%1) (%1 > g_iMaxPlayers)
 
public plugin_init() 
{
    
register_plugin"Death by Bomb" "1.0" "bugsy" )
    
RegisterHamHam_Killed "player" "fw_HamKilled" );
 
    
g_iMaxPlayers get_maxplayers();
}
 
public 
fw_HamKillediVictim iKiller iShouldGib )
{
    static 
szKiller[21];
 
    if ( 
IsEntityiKiller ) )
    {
        
peviKiller pev_classname szKiller 20 );
 
        
//env_explosion
        
if ( ( szKiller] == 'e' ) && ( szKiller] == 'v' ) && ( szKiller] == 'x' ) && ( szKiller] == 's' ) )
        {
            
//iVictim was killed by C4 bomb
        
}
    }

Are those for He Grenade ? I don't want C4 bomb.
__________________
ƒa†es™ 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