Raised This Month: $ Target: $400
 0% 

FM_ClientKill not triggering on Enviromental Deaths


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-15-2016 , 12:13   Re: FM_ClientKill not triggering on Enviromental Deaths
Reply With Quote #6

Quote:
Originally Posted by Shattered Heart Lynx View Post
edit: nvm it doesn't work
I think I saw your post before you edited it out, was it about:
PHP Code:
const HamHam_YourHam Ham69
?
You can't put raw numbers in there because these Ham_* constants aren't actually virtual table indexes, but just some numbers that Hamsandwich identifies and does stuff with the virtual function that constant represents for the running mod on your server. That's why we don't need Spawn to be prefixed for every mod, like Ham_CS_Spawn and Ham_TFC_Spawn, as these indexes are found in hamdata.ini.
Some Ham constants that represent certain virtual functions are prefixed because these virtual functions exist only in one or a few games.
So just look at hamdata.ini at "svencoop" Linux section and you'll find which ones you can use to "hack" around hamdata.ini not being updated yet for SC5.0.

Quote:
Originally Posted by Shattered Heart Lynx View Post
Also, I can give you an updated linux library of the current SC ver. (5.03), but I doubt the table changed since it was mostly bugfixes.
Alrighty then.

Quote:
Originally Posted by Shattered Heart Lynx View Post
So, I assume FM_ClientDisconnect will work the same way isn't? I mean, not hooking if the client times out or gets kicked
I believe it works for all cases. The best would be to search around for your answer or just test it out. It's not something AMXX controls, these functions are exported directly from the GoldSrc/HL engine.
klippy 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 18:38.


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