19.04.2014, 13:16
And you also forgot to close a bracket and use the "else" statement for the VIP level. It was like using "else" twice in a row.
pawn Код:
CMD:skin(playerid, params[])
{
if (pInfo[playerid][VIPlevel] < 1) return SendClientMessage(playerid, COLOR_GOLD, "Only Donators can use this command!");
new skinid;
if(sscanf(params, "d", skinid)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "USAGE: /skin [skinID]");
SetPlayerSkin(playerid, skinid);
new string[33];
format(string, sizeof(string), "You have set your skin ID to %d", skinid);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}