[HELP][+REP] error 032: array index out of bounds
#8

Quote:
Originally Posted by McOwens
Посмотреть сообщение
Код:
forward TogglePlayerControllableEx(playerid,controllable);
public TogglePlayerControllableEx(playerid,controllable)
{
        TogglePlayerControllable(playerid,controllable);
	if (controllable == 0) return PlayerTemp[playerid][afrozen] = 1;
	else (controllable == 1) return PlayerTemp[playerid][afrozen] = 0;

	return 1;
}
Try it like this Maybe

I think theirs no need to use else if, but if its not working with else then just write the if by yourself


If it keeps giving you the warnings, then could you send us the line where you define that var? (or the whole enum)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)