05.10.2012, 02:02
pawn Код:
else if(strlen(tmp) == "165")
Cheers.
else if(strlen(tmp) == "165")
else if(strlen(tmp) == "165") { SendClientMessage(playerid,//UR COLOR//,"You cannot use this ID!"); return 1; }
CMD:skin(playerid,params[])
{
new skinid;
if(sscanf(params,"i",skinid)) return SendClientMessage(playerid, 0xFF0000FF, "Usage: /skin [skin id]");
if(skinid < 0 || skinid > 299) return SendClientMessage(playerid, 0xFF0000, "Invalid skin id");
if(skinid == 165) return SendClientMessage(playerid, 0xFF0000FF, "You cannot use this skin"); //Here, it checks whether the skinid choosen is 165 or not.
CMD:Clothes(playerid,params[])
{
if(!strlen(params)) return SendClientMessage(playerid,-1,"[USAGE] /Clothes [id]");
if(strlen(params) == 165) return SendClientMessage(playerid,0xFF0000FF,"[ERROR] You can't use these clothes!");
//Something else
return 1;
}