Quote:
Originally Posted by Shattered Heart Lynx
edit: nvm it doesn't work
|
I think I saw your post before you edited it out, was it about
:
PHP Code:
const Ham: Ham_YourHam = Ham: 69;
?
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
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
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.