Closed
#4

OK. I used with skins too. This was how I did it

Код:
if (strcmp("/command", cmdtext, true, 10) == 0)
	    {
		if(GetPlayerSkin(playerid) == 288) //change 288 to your skin
        {
	    SendClientMessage(playerid,0x33AA33AA,"Replace this sendclient message to whatever you need");
         }
		else {

 	    SendClientMessage(playerid, 0x33AA33AA, "You are not a cop");
	    }
		return 1;
        }
			}
That should work.
Reply


Messages In This Thread
Closed - by Steven82 - 15.03.2010, 23:58
Re: Police commands(could i) - by adsy - 16.03.2010, 00:04
Re: Police commands(could i) - by Steven82 - 16.03.2010, 00:07
Re: Police commands(could i) - by bartje01 - 16.03.2010, 06:24
Re: Police commands(could i) - by Deat_Itself - 16.03.2010, 08:09
Re: Police commands(could i) - by Steven82 - 17.03.2010, 00:28

Forum Jump:


Users browsing this thread: 1 Guest(s)