help private skins
#8

Then it should look like this:

pawn Код:
#include <a_samp>

public OnPlayerRequestClass(playerid, classid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(classid == 10 && strcmp(name, "[TcB]EmuK", false))
{
GameTextForPlayer(playerid, "~w~SKIN RESERVED", 3000, 3);
return 1;
}
return 1;
}

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: 3 Guest(s)