SA-MP Forums Archive
invalid index parameter (bad entry point) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: invalid index parameter (bad entry point) (/showthread.php?tid=569992)



Need help with onplayerexitedmenu - Rockyyy - 04.04.2015

Fixed thanks , but i have something else to ask about, scripting error: (warning 213: tag mismatch)

public OnPlayerExitedMenu(playerid)
{
new Menu:Current = GetPlayerMenu(playerid);
if(Current != INVALID_MENU) <----------------------------Here
{
HideMenuForPlayer(Current,playerid);
TogglePlayerControllable(playerid,true);
}
return 1;
}


Re: invalid index parameter (bad entry point) - CalvinC - 04.04.2015

Try updating your crashdetect plugin.


Re: invalid index parameter (bad entry point) - Rockyyy - 05.04.2015

Fixed thanks , but i have something else to ask about, scripting error: (warning 213: tag mismatch)

public OnPlayerExitedMenu(playerid)
{
new Menu:Current = GetPlayerMenu(playerid);
if(Current != INVALID_MENU) <----------------------------Here
{
HideMenuForPlayer(Current,playerid);
TogglePlayerControllable(playerid,true);
}
return 1;
}