Preventing Players from using Admin skin without killing them.
#4

Код:
public OnPlayerRequestSpawn(playerid)
{
	if(GetPlayerSkin(playerid) == 278 && PlayerInfo[playerid][Level] < 1)
	{
	    SendClientMessage(playerid,COLOR_ERROR,"This is an admin only skin");
		return 0;
	}
	return 1;
}
Reply


Messages In This Thread
Preventing Players from using Admin skin without killing them. - by OleKristian95 - 07.05.2012, 12:11
Re: Preventing Players from using Admin skin without killing them. - by Jikesh - 07.05.2012, 12:18
Re: Preventing Players from using Admin skin without killing them. - by OleKristian95 - 07.05.2012, 12:38
Re: Preventing Players from using Admin skin without killing them. - by Jikesh - 07.05.2012, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)