Code:
L 10/03/2017 - 19:51:30: Plugin called menu_display when item=MENU_EXIT
L 10/03/2017 - 19:51:30: [AMXX] Displaying debug trace (plugin "pub_war_agz.amxx", version "1.0")
L 10/03/2017 - 19:51:30: [AMXX] Run time error 10: native error (native "menu_display")
L 10/03/2017 - 19:51:30: [AMXX] [0] pub_war_agz.sma::LetsSecondChoosePlayers (line 1404)
L 10/03/2017 - 19:51:30: [AMXX] [1] pub_war_agz.sma::GetMatchMenu (line 499)
my server is crashing constantly and the logs show these errors.
Any solution to this please? Thanks
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <fakemeta>
#include <hamsandwich>
// MENU TO CHOOSE PLAYERS !!!
public LetsSecondChoosePlayers(id)
{
new players[32], count;
get_players(players, count,"eh","SPECTATOR");
if(count > 0)
if(is_user_connected(id) && !is_user_alive(id))
{
new iChoosePlayers = LetsSecondChoosePlayersMenu( id, "Choose A player.", "LetsSecondChoosePlayersHandler" );
menu_setprop( iChoosePlayers, MPROP_NUMBER_COLOR, "\y" );
menu_display( id, iChoosePlayers );
return PLUGIN_HANDLED;
}