warning 213: tag mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 213: tag mismatch (
/showthread.php?tid=656053)
warning 213: tag mismatch -
SlayerHodge - 06.07.2018
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}
_
Re: warning 213: tag mismatch -
Calisthenics - 06.07.2018
Tolls[g][tID] not Tolls[g][gID]
and what is this?
pawn Код:
FloatpenX, FloatpenY, FloatpenZ
Float: openX, Float: openY, Float: openZ
Re: warning 213: tag mismatch -
SlayerHodge - 06.07.2018
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.
Re: warning 213: tag mismatch -
SlayerHodge - 06.07.2018
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;
}
Re: warning 213: tag mismatch -
Calisthenics - 06.07.2018
Is "jobpay" in the enumerator used for PlayerTemp array? Also it should be without any tags.