If you want, when the player spawns you could do something that automatically sets their skin,
Code:
new policeskin[] =
{
280,
281,
282,
288
};
That will define the skins that are useable by the police team (In this script it is a police or gangsta)
Then you can do something for when they spawn:
Code:
SetPlayerSkin(playerid, policeskin[random(4)]);
That was under OnPlayerSpawn and it will set the players skin to and of the skins you define, 4 is the number of skins that are the maximum.
Or if I am completely wrong and I am leading you to something else, you could do something where if they pick a skin, you can have it read from the
and do
Code:
If(skinchosen = policeskin)
{
SendClientMessage(playerid, COLOR_RED, You cannot have that skin!);
}
Keep in mind they need to be tweaked alot, but I hope you get the basic idea about it.