warning 213: tag mismatch
#1

Problem: I cannot figure out this warning. T.T
warning 213: tag mismatch
Код:
line with warning: MoveObject(Tolls[g][gID],Tolls[g][openX],Tolls[g][openY],Tolls[g][openZ], 5.0); 

enum _tolls
{
tID,
tModelID,
tOpen,
Float:closeX, Float:closeY, Float:closeZ, Float: rotX, Float: rotY, Float: rotZ,
FloatpenX, FloatpenY, FloatpenZ, Float: openrotX, Float: openrotY, Float: openrotZ, //134.8956, 1941.5072, 21.5632
}
new Tolls[][_tolls] =
{ 0, 968,0, -92.5776, -912.1743, 18.2484,	0.0000, -90.0000, -208.0000, -92.5776, -912.1743, 18.2484,	0.0000, 0.0000, -208.0000}
_
Reply
#2

Tolls[g][tID] not Tolls[g][gID]

and what is this?
pawn Код:
FloatpenX, FloatpenY, FloatpenZ
Float: openX, Float: openY, Float: openZ
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Tolls[g][tID] not Tolls[g][gID]

and what is this?
pawn Код:
FloatpenX, FloatpenY, FloatpenZ
Float: openX, Float: openY, Float: openZ
That happened when i pasted the code apparently. It is correct in the script, THANKS FOR YOUR COMMENTS, I feel little dumb for not seeing that.
Reply
#4

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Tolls[g][tID] not Tolls[g][gID]

and what is this?
pawn Код:
FloatpenX, FloatpenY, FloatpenZ
Float: openX, Float: openY, Float: openZ
THnaks +rep












this is with the same warnings, but unsure of this
Код:
AddToPayCheck(playerid, amount)
{
	Warning 213:tagMismatch : PlayerTemp[playerid][jobpay] += amount;
	
	new iQuery[250];
	mysql_format(MySQLPipeline, iQuery, sizeof(iQuery), "UPDATE `PlayerInfo` SET `JobPay` = `JobPay` + %d WHERE `PlayerName` = '%e'", amount, PlayerName(playerid));
	mysql_pquery(MySQLPipeline, iQuery);
    /*if(PlayerTemp[playerid][jobpay] >= 10000)
    {
		SaveAccount(playerid);
    }*/
	return 1;
}
Reply
#5

Is "jobpay" in the enumerator used for PlayerTemp array? Also it should be without any tags.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)