Hamsandwich funcs crash my server on Linux
I am using the plugin teamchanger and when the func:
"ExecuteHamB( Ham_CS_RoundRespawn, plr );"
executes my server crashes :(
same for wep utillities...
Any 1 can help me ? Thanks in advance !
Verry Sorry for my bad english
Cheers
same 4 me
Try Ham_Spawn instead.
It worx!
suggesting to use fakemeta dllfunc(DLLFunc_Spawn, plr) so other plugins can detect spawn via Ham_Spawn
/**
* 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, this, any:...);
Originally posted by SchlumPF/**
* 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, this, any:...);
If you excute virtual function in engine - fm and ham detect it.
If you excute on fm - ham detects it.
If you excute on ham - ... nothing can detect it.
It depends on how are listed modules.ini if I'm right. =)
afaik not really....
rather test it but im sure that this command was even explained in some alliedmodder thread in which someones says that this command will trigger each hook.
With ExecuteHamB, ham detects it, that's why it's specified (tested and used lot of times):
* Be very careful about recursion!
Please log in to post replies.