Raised This Month: $ Target: $400
 0% 

Not displaying right


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
asd13
Member
Join Date: Apr 2009
Old 05-25-2010 , 22:58   Not displaying right
Reply With Quote #1

Its not reading or displaying right the message.
Problem is that if player kills he/she sees always the same message "You killed '%s' with HeadShot" no matter is it hs or not.

PHP Code:
#include < amxmodx >
#include < hamsandwich >

public plugin_init( ) {
    
RegisterHamHam_Killed"player""PlayerKilled" );
}

public 
PlayerKillediVictimiKilleriHs ) {
    if ( 
iHs == ) {
        
client_printiKillerprint_chat"You killed '%s' with HeadShot"iVictim );
    }
    else {
        
client_printiKillerprint_chat"You killed '%s'"iVictim );
    }

asd13 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 05:16.


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