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=445400)
warning 213: tag mismatch -
Donvalley - 21.06.2013
pawn Код:
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
new gastext[41];
new vid = GetPlayerVehicleID(playerid);
format(gastext, sizeof(gastext), "Vehicle Fuel : %d", Gas[vid]);
TextDrawSetString(GasAmount, gastext);
TextDrawShowForPlayer(playerid, GasAmount);
}
if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
{
TextDrawHideForPlayer(playerid, GasAmount);
}
why am i getting this warning?
warning 213: tag mismatch
Re: warning 213: tag mismatch -
KingHual - 21.06.2013
Because you haven't declared GasAmount a Text?