07.05.2013, 17:54
Alright so I want to make this. If the player pTeam is 0 it will do nothing (working), but if the team is pTeam 1 it will show other skins ids.
Basicaly I want to make is that you can have pTeam skins that will show only for your team. For example if your team is pTeam 1 it will show you some other skins that you cannot see without it.
Basicaly I want to make is that you can have pTeam skins that will show only for your team. For example if your team is pTeam 1 it will show you some other skins that you cannot see without it.
pawn Код:
switch (classid)
{
case 0 .. 10:
{
gTeam[playerid] = POLICE;
GameTextForPlayer(playerid, "~b~Police~b~", 1000, 5);
}
case 11 .. 13:
{
gTeam[playerid] = LATIN_KINGS;
GameTextForPlayer(playerid, "~y~Latin Kings~y~", 1000, 5);
}
case 14 .. 16:
{
gTeam[playerid] = BALAS;
GameTextForPlayer(playerid, "~p~Balas", 1000, 5);
}
case 17:
{
if(PlayerInfo[playerid][pTeam] == 0)
{
//This one is working
gTeam[playerid] = MY_TEAM;
GameTextForPlayer(playerid, "~w~Custom Team", 1000, 5);
}
else if(PlayerInfo[playerid][pTeam] == 1)
{
//Show pTeam 1 skins?
}
}
}
return 1;
}