Raised This Month: $ Target: $400
 0% 

Run time error 3: stack error in Kz-Arg


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FiFiX
Senior Member
Join Date: May 2008
Location: Poland
Old 06-14-2009 , 08:32   Run time error 3: stack error in Kz-Arg
Reply With Quote #1

I've got problem with fm_strip_user_weapons(index) in Kz-Arg Mod..

Code:
new const g_RemoveEntities[][] =
{
    "func_bomb_target", "info_bomb_target", "hostage_entity", /*"func_breakable",*/
    "monster_scientist", "func_hostage_rescue", "info_hostage_rescue",
    "info_vip_start", "func_vip_safetyzone", "func_escapezone",
    "armoury_entity", "game_player_equip", "player_weaponstrip",
    "info_deathmatch_start" // TT Spawn :D
};

// From fakemeta_util
stock fm_strip_user_weapons(index) 
{
    new ent = fm_create_entity("player_weaponstrip");
    if (!pev_valid(ent))
        return 0;

    set_pev(ent, pev_owner, index);    
    dllfunc(DLLFunc_Spawn, ent);
    dllfunc(DLLFunc_Use, ent, index);
    engfunc(EngFunc_RemoveEntity, ent);

    return 1;
}
Thats the function
And that's error:
Code:
L 06/13/2009 - 20:39:32: [AMXX] Run time error 3: stack error 
L 06/13/2009 - 20:39:32: [AMXX]    [0] kz_jumpplugin.sma::fm_strip_user_weapons
Any ideas how to slove that staying in basic modules from kz-arg?
FiFiX is offline
Send a message via Skype™ to FiFiX
 



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 13:59.


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