12.12.2013, 22:06
Hello guys, I have a problem with my enum.
I want to ask what does this error means. Don't just tell me how to fix it please.
I just can't understand whats the problem with my integers.
Here is my enum declaration:
Here is the function that I call:
Errors (i have commented the lines on the code):
I call this function only OnPlayerDisconnect and it's the only function I call there.
I want to ask what does this error means. Don't just tell me how to fix it please.
I just can't understand whats the problem with my integers.

Here is my enum declaration:
pawn Код:
enum Data
{
bool:logged,
int:score,
int:money,
int:kills,
int:deaths,
};
new Player[MAX_PLAYERS][Data];
pawn Код:
/*
* WARRNING - USE THIS ONLY ON OnPlayerDisconnect()!!!!!!
*/
stock ResetPlayeridData(playerid){
Player[playerid][logged] = false; //87
Player[playerid][score] = 0; //88
Player[playerid][money] = 0; //89
Player[playerid][kills] = 0; //90
Player[playerid][deaths] = 0; //91
}
Код:
F:\Dropbox\SAMP Server\gamemodes\cnr.pwn(88) : warning 213: tag mismatch F:\Dropbox\SAMP Server\gamemodes\cnr.pwn(89) : warning 213: tag mismatch F:\Dropbox\SAMP Server\gamemodes\cnr.pwn(90) : warning 213: tag mismatch F:\Dropbox\SAMP Server\gamemodes\cnr.pwn(91) : warning 213: tag mismatch