Raised This Month: $ Target: $400
 0% 

[CSX/HAM] Client_Death / Ham (It's not to convert)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-12-2015 , 23:22   Re: [CSX/HAM] Client_Death / Ham (It's not to convert)
Reply With Quote #2

I believe you need to use ExecuteHamB(). Take a look at hamsandwich.inc:


PHP Code:
/**
 * Executes the virtual function on the entity, this will trigger all hooks on that function.
 * Be very careful about recursion!
 * Look at the Ham enum for parameter lists.
 *
 * @param function        The function to call.
 * @param id            The id of the entity to execute it on.
 */
native ExecuteHamB(Ham:function, thisany:...); 
Notice how ExecuteHam() does NOT trigger any other hooks based on the death.
__________________
fysiks 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:29.


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