[HELP] Can you see something wrong?
#1

I'm working on a script that will block unofficial players to pick special skin ids from the skin selection.

Код:
	if(GetPlayerSkin(playerid) == 280 || 150 || 284)
	{
	  if(PlayerInfo[playerid][pLAERank] >= 1)
	  {

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "	You are not authorized to use that skin.");
    	return 0;
		}
	}
This blocks the skin ids but it also blocks all other skins that dont got anything to do with this skin ids.

Thanks
Reply


Messages In This Thread
[HELP] Can you see something wrong? - by FreddeN - 23.02.2010, 15:58
Re: [HELP] Can you see something wrong? - by Niixie - 23.02.2010, 16:06
Re: [HELP] Can you see something wrong? - by lameguy - 23.02.2010, 16:06
Re: [HELP] Can you see something wrong? - by Jeffry - 23.02.2010, 16:07
Re: [HELP] Can you see something wrong? - by FreddeN - 23.02.2010, 16:10

Forum Jump:


Users browsing this thread: 2 Guest(s)