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: tag mismatch (
/showthread.php?tid=655820)
tag mismatch -
KamilPolska - 30.06.2018
How to fix?
warning 213: tag mismatch:
Код:
PlayerMSG(playerid, "Server: TEST");
Код:
new player_str[144];
PlayerMSG(id, string:msg[], bool:noArrows=false)
{
format(player_str, 144, "%s%s", (!noArrows) ? (">> ") : (""), msg);
return SendClientMessage(id, COLOR_GOLD, player_str);
}
Re: tag mismatch -
Lokii - 30.06.2018
PHP код:
PlayerMSG(playerid, "Server: TEST", false); //can alos be true.
Re: tag mismatch -
KamilPolska - 30.06.2018
Did not help.
Re: tag mismatch -
Calisthenics - 30.06.2018
Do you include YSI? If not,
string: tag will be of no use. You don't need it in the first place only when using inline.
pawn Код:
PlayerMSG(id, msg[], bool:noArrows=false)
Re: tag mismatch -
KamilPolska - 30.06.2018
Yes, I did not have YSI. Thank you all for your help.