[HELP]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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]warning 213: tag mismatch (
/showthread.php?tid=112109)
[HELP]warning 213: tag mismatch -
whitedragon - 05.12.2009
C:\samp\gamemodes\larp.PWN(41095) : warning 213: tag mismatch
i made new command and its look this
Код:
if(strcmp(cmd, "/quitteam", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if((PlayerInfo[playerid][pMember] == 1) || (PlayerInfo[playerid][pMember] == 2) || (PlayerInfo[playerid][pMember] == 3)||(PlayerInfo[playerid][pMember] == 4) || (PlayerInfo[playerid][pMember] == 5) || (PlayerInfo[playerid][pMember] == 6) || (PlayerInfo[playerid][pMember] == 9)|| (PlayerInfo[playerid][pMember] == 10)|| (PlayerInfo[playerid][pMember] == 11) || (PlayerInfo[playerid][pMember] == 14) || (PlayerInfo[playerid][pMember] == 15) || (PlayerInfo[playerid][pMember] == 16)==1)
{
PlayerInfo[giveplayerid][pMember] = 0;
PlayerInfo[giveplayerid][pRank] = 0;
if(PlayerInfo[giveplayerid][pSex] == 1) { random(sizeof(CivMalePeds)); }
else if(PlayerInfo[giveplayerid][pSex] == 1) { random(sizeof(CivFemalePeds)); }
else { random(sizeof(CivMalePeds)); }
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Your not in team");
return 1;
}
}
}
any idea?
Re: [HELP]warning 213: tag mismatch -
acade - 05.12.2009
Copy line 41095
Re: [HELP]warning 213: tag mismatch -
whitedragon - 05.12.2009
Код:
if((PlayerInfo[playerid][pMember] == 1) || (PlayerInfo[playerid][pMember] == 2) || (PlayerInfo[playerid][pMember] == 3)||(PlayerInfo[playerid][pMember] == 4) || (PlayerInfo[playerid][pMember] == 5) || (PlayerInfo[playerid][pMember] == 6) || (PlayerInfo[playerid][pMember] == 9)|| (PlayerInfo[playerid][pMember] == 10)|| (PlayerInfo[playerid][pMember] == 11) || (PlayerInfo[playerid][pMember] == 14) || (PlayerInfo[playerid][pMember] == 15) || (PlayerInfo[playerid][pMember] == 16)==1)
i want make cmd what set player to civil.
Re: [HELP]warning 213: tag mismatch - Zeex - 05.12.2009
pawn Код:
if((1 <= PlayerInfo[playerid][pMember] <= 6) || (9 <= PlayerInfo[playerid][pMember] <= 11) || (14 <= PlayerInfo[playerid][pMember] <= 16))
Re: [HELP]warning 213: tag mismatch -
whitedragon - 05.12.2009
but how i add leaders?
Re: [HELP]warning 213: tag mismatch -
[NYRP]Mike. - 05.12.2009
pawn Код:
if(PlayerInfo[playerid][pMember] != 0 && PlayerInfo[playerid][pLeader] != 0)
{
//Your pawn code stuff here.....//
}
Try this, this should work....
-©un3o.
Re: [HELP]warning 213: tag mismatch -
whitedragon - 05.12.2009
not working
it send me else
Re: [HELP]warning 213: tag mismatch -
[NYRP]Mike. - 05.12.2009
what command is it you exactly want?
Re: [HELP]warning 213: tag mismatch -
whitedragon - 05.12.2009
make player to civil when player is in gang or organsion it take you out there and set you civil