cycle and enum
#1

Hello,
i write this code:

Код:
enum PLAYER_INFO
{
	money,//0
	bank,//1
	weapon1,//2
	weapon2,//3
	weapon3//4
}
new Player[MAX_PLAYERS][PLAYER_INFO];

public OnPlayerConnect(playerid)
{
	for(new i;i<sizeof(Player);i++)
	{
	    Player[playerid][i] = 0;//warning 213: tag mismatch
	}
	return 1;
}
warning 213: tag mismatch

How do I properly write to the cycle?
Reply


Messages In This Thread
cycle and enum - by ATomas - 03.02.2014, 11:53
Re: cycle and enum - by Misiur - 03.02.2014, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)