How would i do reserved skins?
#5

The first one. Just change the name.

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(GetPlayerSkin(playerid) == 294) // Wu-Zi-Mu
    {
        new name[24]; GetPlayerName(playerid, name, 24);
        if(strcmp(name, "JAMMIEISFTW", false)) //Name, do not ignore case
        {
            GameTextForPlayer(playerid, "~r~Restricted skin!", 3000, 5);
            return 0; //Stop spawning
        }
    }
}
pawn Код:
if(strcmp(name, "JAMMIEISFTW", false)) //Name, do not ignore case
Reply


Messages In This Thread
How would i do reserved skins? - by JAMMIEISFTW - 23.05.2012, 16:43
Re: How would i do reserved skins? - by ViniBorn - 23.05.2012, 16:46
Re: How would i do reserved skins? - by [FMJ]PowerSurge - 23.05.2012, 16:49
Re: How would i do reserved skins? - by JAMMIEISFTW - 23.05.2012, 16:52
Re: How would i do reserved skins? - by [FMJ]PowerSurge - 23.05.2012, 16:58
Re: How would i do reserved skins? - by JAMMIEISFTW - 23.05.2012, 17:02
Re: How would i do reserved skins? - by HighPitchedVoice - 23.05.2012, 17:06
Re: How would i do reserved skins? - by [FMJ]PowerSurge - 23.05.2012, 17:09
Re: How would i do reserved skins? - by JAMMIEISFTW - 23.05.2012, 17:10
Re: How would i do reserved skins? - by CristiD - 23.05.2012, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)