Raised This Month: $ Target: $400
 0% 

Simple Question!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-06-2010 , 15:01   Simple Question!
Reply With Quote #1

#1: When registering Ham_Killed, I want it to display a chat message, but still show who was killed. For example:

PHP Code:
if( cs_get_user_team(iVictim) == CS_TEAM_T && cs_get_user_team(iAttacker) == CS_TEAM_CT )
{
     
client_printidprint_chat"Bool1 = true!" )
     return 
PLUGIN_HANDLED;

Since I have return PLUGIN_HANDLED, it wont display at the top right that the CT killed the T. It will only display the message.

What should I return so it will display the message, but the plugin wont execute passed that if statement.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
 


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 00:11.


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