Raised This Month: $ Target: $400
 0% 

How do i get user headshot ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-21-2009 , 11:41   Re: How do i get user headshot ?
Reply With Quote #8

Quote:
Originally Posted by Bugsy View Post
Typo: passing 2 params in read_data makes it expect a float byref.

I added victim\killer just in case you need to access them.

Code:
</p><p>public eventDeathMsg()</p><p>{</p><p> //static iKiller; iKiller = read_data( 1 );</p><p> //static iVictim; iVictim = read_data( 2 );</p><p> static szWeap[5]; read_data( 4 , szWeap , 4 );</p><p>&nbsp;</p><p> if ( read_data( 3 ) )</p><p> {</p><p> // Head Shot was made</p><p> }</p><p>&nbsp;</p><p> if ( ( szWeap[ 0 ] == 'k' ) && ( szWeap[ 3 ] == 'f' ) )</p><p> {</p><p> // Knife kill was made</p><p> }</p><p>}
Can i ask something ?

what is this :

// Head Shot was made

Do i have to do something ?
__________________
ƒa†es™ 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 15:34.


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