Raised This Month: $ Target: $400
 0% 

Info Message for Victim


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
daNzEt
Senior Member
Join Date: Sep 2010
Location: Romania
Old 12-26-2013 , 11:13   Info Message for Victim
Reply With Quote #1

Hello,

I need some help scripting this part of plugin.

PHP Code:
public event_DeathMsg()
{
    new 
iKiller read_data(1)
    new 
iVictim read_data(2)
    
    if(
iKiller == iVictim)
    {
        return 
PLUGIN_HANDLED;
    }
    
    else
    {    
        new 
name[32]
        
get_user_name(iKillername31)
    
        new 
clipammoweapon get_user_weapon(iKiller,clip,ammo)
    
        new 
health get_user_health(iKiller);
    
        
chat_color(iVictim"!nJucatorul !t%s !nte-a ucis cu !g%s !nsi a ramas cu !g%s !nhp"nameweaponhealth)
    }
    
    return 
PLUGIN_HANDLED;

Not showing killer weapon and health to victim ...
daNzEt is offline
Send a message via Yahoo to daNzEt Send a message via Skype™ to daNzEt
 


Thread Tools
Display Modes

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 20:24.


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