[Ajuda] tag mismatch
#1

Oi gente, estou escrevendo um GM A/D baseado em Los Santos e gangues.
Portanto, fiz um sistema de Skin randфmica, ou seja, assim que o player escolhe sua equipe, a skin dele й selecionada aleatoriamente.
O *ЪNICO* problema й que o cуdigo faz o favor de me dar tag mismatches:
Код:
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(17) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(18) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(19) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(20) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(21) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(24) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(25) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(26) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(27) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(28) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(29) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(30) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(31) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(32) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(94) : warning 213: tag mismatch
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(97) : warning 213: tag mismatch
As linha que dгo tag mismatch :
pawn Код:
new Float:gRandomPoliceSkins[5][1] = {
{280}, //SP LS Police officer
{284}, //Bike officer
{285}, //S.W.A.T Dude
{286}, //FBI Dude
{287}  //Army Dude (Might put these on a different spawn, who knows...)
};
new Float:gRandomGangSkins[9][1] = {
{102}, //Those 3 skins are all Ballas
{103},
{104},
{105}, //Now on, Families
{106},
{107},
{108}, //Vagos...
{109},
{110}
};
A outra parte:
pawn Код:
public OnPlayerSpawn(playerid)
{   //Randomly selecting their skin after they spawn, depending on their team
    if (gTeam[playerid] == POLICE ) {
        new rand = random(sizeof(gRandomPoliceSkins));
(94)        SetPlayerSkin(playerid, gRandomPoliceSkins[rand][0]);
    }else if (gTeam[playerid] == GANGS ) {
        new rand = random(sizeof(gRandomGangSkins));
(97)        SetPlayerSkin(playerid, gRandomGangSkins[rand][0]); }
return 1;
}
Agradeзo desde jб.
Reply


Messages In This Thread
[Ajuda] tag mismatch - by vitorhnn - 07.03.2011, 18:04
Re: [Ajuda] tag mismatch - by Ricop522 - 07.03.2011, 18:11
Re: [Ajuda] tag mismatch - by vitorhnn - 07.03.2011, 18:14
Re: [Ajuda] tag mismatch - by Falcon. - 07.03.2011, 18:25
Re: [Ajuda] tag mismatch - by vitorhnn - 07.03.2011, 18:30
Re: [Ajuda] tag mismatch - by leandro123456 - 07.03.2011, 18:32
Re: [Ajuda] tag mismatch - by vitorhnn - 07.03.2011, 18:34
Re: [Ajuda] tag mismatch - by Falcon. - 07.03.2011, 18:38
Re: [Ajuda] tag mismatch - by leandro123456 - 07.03.2011, 18:47
Re: [Ajuda] tag mismatch - by vitorhnn - 07.03.2011, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)