26.06.2012, 20:51
Something like this should work, yet you need to make the variables and such if you haven't
Change variables to your variable as-well.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == skinidhere && PlayerInfo[playerid][pMember] != 1) //If the member is not value 1, and if they have a specific skin, and it continues.
{
SendClientMessage(playerid, 0xFF0000FF, "Restricted Skin!");
return 0;
}
return 1;
}