25.10.2014, 12:14
Well either use the cops faction id or as somebody already said above use the skin id.
pawn Код:
new Random = random(sizeof(RandomSpawns));
if(PlayerInfo][playerid][pFaction] != facidhere)
{
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
}