Array index out of bounds -- HELP PLS
#9

Quote:
Originally Posted by PoniStar
View Post
i edited my post :
Code:
public FailRob(playerid,robid)
{
	if(robid == 1)
	{
				new Float:X, Float:Y, Float:Z , string[300];
				GetPlayerPos(playerid,X,Y,Z);
				mbag = CreateObject(1550, X, Y, Z);
		        mbtxtdraw = Create3DTextLabel("Money Bag",COLOR_CYAN,X,Y,Z-0.8010, 15.0, 0, 0);
				//
		        SendClientMessageToAll(-1,"Test String");
				//
				DestroyDynamicCP(RobCps[playerid]);
				//
				HideTimer(playerid);
	}
    return 1;
}
The above code cannot give run time error 4. By hiding the code, you hide the mistake.
Reply


Messages In This Thread
Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 08:57
Re: Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 09:05
Re: Array index out of bounds -- HELP PLS - by Calisthenics - 27.01.2019, 09:12
Re: Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 09:15
Re: Array index out of bounds -- HELP PLS - by GeorgeLimit - 27.01.2019, 09:18
Re: Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 09:22
Re: Array index out of bounds -- HELP PLS - by Calisthenics - 27.01.2019, 09:24
Re: Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 09:29
Re: Array index out of bounds -- HELP PLS - by Calisthenics - 27.01.2019, 09:33
Re: Array index out of bounds -- HELP PLS - by PoniStar - 27.01.2019, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)