I only need a bit more information from the ones who know the difference between ExecuteHam and ExecuteHamB.
I have this part of code:
PHP Code:
#include < amxmodx >
#include < hamsandwich >
#include < fakemeta >
public plugin_init( ) {
register_plugin( "No Killer DeathMsg", "1.0", "n0br41ner" );
RegisterHam(Ham_Killed, "player", "Fwd_PlayerKilled_Pre", 0);
}
public Fwd_PlayerKilled_Pre(victim, attacker, shouldgib) {
ExecuteHam(Ham_Killed, victim, 0, shouldgib);
return HAM_SUPERCEDE;
}
And it works fine, but when i change the following:
PHP Code:
ExecuteHam(Ham_Killed, victim, 0, shouldgib);
->
PHP Code:
ExecuteHamB(Ham_Killed, victim, 0, shouldgib);
I get the following error:
Code:
L 02/14/2013 - 02:13:19: Start of error session.
L 02/14/2013 - 02:13:19: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20130214.log")
L 02/14/2013 - 02:13:19: [AMXX] Displaying debug trace (plugin "nodeathmsg.amxx")
L 02/14/2013 - 02:13:19: [AMXX] Run time error 3: stack error
Why am i asking? Because before i was using it with
B and it was not working, i tried to use it without the
B and it worked fine.
I had a similar problem here and it got fixed by using it without the
B:
http://forums.alliedmods.net/showthread.php?t=206474
Someone can explain what the situation is? I am just curious.
__________________