17.07.2016, 23:57
pawn Код:
if(GetPlayerSkin(playerid) == emmetskin)
{
new SkinName[MAX_PLAYER_NAME];
GetPlayerName(playerid, SkinName, sizeof(SkinName));
if(!(strcmp(SkinName, "[BADBOY]", false) == 0))
{
GameTextForPlayer(playerid, "You can't take this skin!", 2500, 3);
ForceClassSelection(playerid);
SetPlayerHealth(playerid, 0.0);
}
}