PDA

View Full Version : [Help] GetPlayerTeam Warning


Arxalan
19/01/2015, 06:18 AM
Hello , i have following command but it gives me warning of Tag Mismatch.
if(!GetPlayerTeam(playerid) == 8)
{
SetPlayerTeam(playerid, 0);
}
if i set it to
if(GetPlayerTeam(playerid) == 8)
{
SetPlayerTeam(playerid, 0);
}
Then it have no warning . Why i am getting the warning with ! and how to solve it?

Schneider
19/01/2015, 06:33 AM
if(GetPlayerTeam(playerid) != 8)