Raised This Month: $ Target: $400
 0% 

DEATHS ZOMG


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2009 , 10:35   Re: DEATHS ZOMG
Reply With Quote #6

Use the offset m_iDeaths ( 377 ) for HL.

Try this stock :

Code:
stock hl_set_user_deaths( const player, const deaths ) {     const m_iDeaths = 377;     static msgidScoreInfo;         if ( msgidScoreInfo || ( msgidScoreInfo = get_user_msgid( "ScoreInfo" ) ) )     {         set_pdata_int( player, m_iDeaths, deaths );                 message_begin( MSG_BROADCAST, msgidScoreInfo );         write_byte( player );         write_short( get_user_frags( player ) );         write_short( deaths );         write_short( 0 );         write_short( get_user_team( player ) );         message_end();     } }

Last edited by Arkshine; 01-08-2010 at 10:48.
Arkshine 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 01:36.


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