Raised This Month: $ Target: $400
 0% 

ExecuteHam/b Information?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 02-13-2013 , 19:22   ExecuteHam/b Information?
Reply With Quote #1

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(victimattackershouldgib) {
    
ExecuteHam(Ham_Killedvictim0shouldgib);

    return 
HAM_SUPERCEDE;

And it works fine, but when i change the following:
PHP Code:
ExecuteHam(Ham_Killedvictim0shouldgib); 
->
PHP Code:
ExecuteHamB(Ham_Killedvictim0shouldgib); 
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.
__________________

Last edited by n0br41ner; 02-13-2013 at 19:24.
n0br41ner 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 20:41.


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