Raised This Month: $ Target: $400
 0% 

Who break my breakable ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
solidsnake
Member
Join Date: Jul 2006
Old 02-16-2007 , 11:41   Who break my breakable ?
Reply With Quote #1

Dears friends,

I have a little trouble with func_breakable.

I'm able to set if a breakable is dead with register_think, but how to get the player that we destroy this breakable ?

i've tried : read_data, EV_ENT_dmg_inflictor,
EV_ENT_enemy,
EV_ENT_aiment

without sucess.

read_data 0 return a number but no always the good player
read_data 1 return always 1
read_data 2 the gun id
read_data 3 ??? i don't know but it's is not possible that is a player because this number is the same that another.

There is a solution with private read data ?

Thanks !
solidsnake 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:42.


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