Raised This Month: $ Target: $400
 0% 

make_deathmsg usage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 08-06-2010 , 18:27   make_deathmsg usage
Reply With Quote #1

Alright so I'm using make_deathmsg but there is an argument.
Since the fourth param has to be const, can I do this:

PHP Code:
public eDeathiVictimiAttacker )
{
     new 
iWeapon[33];
     
     if( 
cs_get_user_team(iVictim) == CS_TEAM_T )
     {
          
iWeapon[iAttacker] = get_user_weaponiAttacker )
          
make_deathmsgiAttackeriVictim0iWeapon )
          return 
PLUGIN_HANDLED;
     }

__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 00:06.


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