[Help] GetPlayerTeam Warning - 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: [Help] GetPlayerTeam Warning (
/showthread.php?tid=558798)
[Help] GetPlayerTeam Warning -
Arxalan - 19.01.2015
Hello , i have following command but it gives me warning of Tag Mismatch.
PHP код:
if(!GetPlayerTeam(playerid) == 8)
{
SetPlayerTeam(playerid, 0);
}
if i set it to
PHP код:
if(GetPlayerTeam(playerid) == 8)
{
SetPlayerTeam(playerid, 0);
}
Then it have no warning . Why i am getting the warning with ! and how to solve it?
Re: [Help] GetPlayerTeam Warning -
Schneider - 19.01.2015
pawn Код:
if(GetPlayerTeam(playerid) != 8)