help private skins
#4

You can't use your nickname like that. If you want the skin to only be available for you (with your nickname), then try something like this:

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
new skin;
new name[MAX_PLAYER_NAME];
skin = GetPlayerSkin(playerid);
GetPlayerName(playerid, name, sizeof(name));
if(skin == 10 && strcmp(name, "[TcB]EmuK", false))
{
GameTextForPlayer(playerid, "~w~SKIN RESERVED", 3000, 3);
return 1;
}
return 1;
}
Reply


Messages In This Thread
help private skins - by emuk - 28.07.2009, 18:22
Re: help private skins - by refshal - 28.07.2009, 18:56
Re: help private skins - by emuk - 28.07.2009, 21:50
Re: help private skins - by refshal - 28.07.2009, 22:43
Re: help private skins - by D3nnis - 28.07.2009, 23:04
Re: help private skins - by refshal - 28.07.2009, 23:35
Re: help private skins - by emuk - 29.07.2009, 06:24
Re: help private skins - by refshal - 29.07.2009, 10:37

Forum Jump:


Users browsing this thread: 4 Guest(s)