[HELP] Forbid players using certain skins
#3

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(PlayerInfo[playerid][pCopRights] != 1)
    {
        if(GetPlayerSkin(playerid) == [Your Id Skin Here])
        {
            SendClientMessage(playerid, SOME_COLOR, "You Need To Be A Cop bla bla..);
            return 0;
        }
    }
    return 1;
}
Ain't sure if it will work since it isn't tested, but i found a function like this in my script. And i can't compile that since i don't have PlayerInfo and such.
Reply


Messages In This Thread
[SOLVED] Forbid players using certain skins - by Fredden1993 - 29.08.2010, 19:18
Re: [HELP] Forbid players using certain skins - by willsuckformoney - 29.08.2010, 19:34
Re: [HELP] Forbid players using certain skins - by Mikkel_Pedersen - 29.08.2010, 19:42
Re: [HELP] Forbid players using certain skins - by CyNiC - 29.08.2010, 20:05

Forum Jump:


Users browsing this thread: 1 Guest(s)