Raised This Month: $ Target: $400
 0% 

[HELP]Floatround error - JBextream


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 10-29-2014 , 09:23   [HELP]Floatround error - JBextream
Reply With Quote #1

Hy!
I got an error in the jailbreak mod:
Code:
public msg_showmenu(msgid, dest, id)
{
    static msgarg1, roundloop
    static CsTeams:team
    msgarg1 = get_msg_arg_int(1)

    if(msgarg1 != 531 && msgarg1 != 563)
        return PLUGIN_CONTINUE

    roundloop = floatround(get_pcvar_float(gp_RetryTime) / 2)
    team = cs_get_user_team(id)

    if(is_user_connected(id))
    {
        if(team == CS_TEAM_T)
        {
            if(!is_user_admin(id) && (is_user_alive(id) || (g_RoundStarted >= roundloop) || !get_pcvar_num(gp_TeamChange)))
            {
                client_print(id, print_center, "%L", LANG_SERVER, "JBE_TEAM_CANTCHANGE")
                return PLUGIN_HANDLED
            }
            else
            {
                show_menu(id, 51, TEAM_MENU, -1)
                return PLUGIN_HANDLED
            }
        }
        else
        {
            show_menu(id, 51, TEAM_MENU, -1)
            return PLUGIN_HANDLED
        }
    }
    return PLUGIN_CONTINUE
}
Error:
Code:
L 10/29/2014 - 12:59:47: [AMXX]    [0] jbextreme.sma::msg_showmenu (line 492)
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
SZ_GetSpace: overflow on MessageBegin/End
FATAL ERROR (shutting down): MESSAGE_END called, but message buffer from .dll had overflowed
Line 492:
Code:
roundloop = floatround(get_pcvar_float(gp_RetryTime) / 2)
What is the fail in this code? floatround value is not correct or what?
Pls Help me to fix it
Hembi is offline
 


Thread Tools
Display Modes

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 17:29.


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