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
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}
};
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;
}
new Float:gRandomPoliceSkins[][] =
{
{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[][] =
{
{102}, //Those 3 skins are all Ballas
{103},
{104},
{105}, //Now on, Families
{106},
{107},
{108}, //Vagos...
{109},
{110}
};
public OnPlayerSpawn(playerid)
{
if (gTeam[playerid] == POLICE )
{
SetPlayerSkin(playerid, random(sizeof(gRandomPoliceSkins));
}
else if (gTeam[playerid] == GANGS )
{
SetPlayerSkin(playerid, random(sizeof(gRandomGangSkins));
}
return 1;
}
C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(96) : error 001: expected token: ",", but found ";" C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(100) : error 001: expected token: ",", but found ";" C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(269) : warning 203: symbol is never used: "gRandomGangSkins" C:\Users\vhnn\Documents\uberhax\gamemodes\lswar.pwn(269) : warning 203: symbol is never used: "gRandomPoliceSkins" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
SetPlayerSkin(playerid, random(sizeof(gRandomPoliceSkins));
SetPlayerSkin(playerid, random(sizeof(gRandomGangSkins));
SetPlayerSkin(playerid, random(sizeof(gRandomPoliceSkins)));
SetPlayerSkin(playerid, random(sizeof(gRandomGangSkins)));
\lswar.pwn(269) : warning 203: symbol is never used: "gRandomGangSkins" lswar.pwn(269) : warning 203: symbol is never used: "gRandomPoliceSkins"
Ai diz que vocк tem duas floats de skins, apague umas das copias e seja feliz....
|