30.05.2013, 15:16
Maybe this will work.
pawn Код:
new skin = GetPlayerSkin(playerid); // Put this on the TOP of the script.
// This under OnPlayerStateChange
if(skin == 294) // If the skin equals 294
{
SetPlayerSkin(playerid, 270); // Sets the skin back to 270.
SendClientMessage(playerid, YourColorID, "This skin is restricted."); // Text when changing skin to 270.
return 1;
}
}