Raised This Month: $ Target: $400
 0% 

Deathmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-05-2010 , 16:40   Re: Deathmessage
Reply With Quote #3

Quote:
Originally Posted by hleV View Post
PHP Code:
#include <amxmodx>
#include <cstrike>
 
public plugin_init()
        
register_message(get_user_msgid("DeathMsg"), "DeathMsg");
 
public 
DeathMsg()
{
        new 
Killer get_msg_arg_int(1), Victim get_msg_arg_int(2);
 
        if ((!
Killer || Killer == Victim) && cs_get_user_team(Victim) == CS_TEAM_CT)
                
set_msg_arg_int(1ARG_BYTE, <Terrorist ID here>);

What id to write? 1?
edgaras85 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:27.


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