16.03.2010, 06:24
OK. I used with skins too. This was how I did it
That should work.
Код:
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;
}
}

