getplayerskin help
#3

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;
    }
}
Reply


Messages In This Thread
getplayerskin help - by Proph3t - 30.05.2013, 15:09
Re: getplayerskin help - by [ABK]Antonio - 30.05.2013, 15:11
Re: getplayerskin help - by NL-Sultan - 30.05.2013, 15:16
Re: getplayerskin help - by Konstantinos - 30.05.2013, 15:19
Re: getplayerskin help - by [ABK]Antonio - 30.05.2013, 15:20
Re: getplayerskin help - by Proph3t - 30.05.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)