23.05.2012, 16:58
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