help private skins
#6

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

return 1;
}
After "GameTextForPlayer(playerid, "~w~SKIN RESERVED", 3000, 3);" you should use "return 0;"
otherwise the player will be spawn anyway.
Oh yeah? Convince me... I've tried this with returning 1 like a million times, and it worked...
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)