24.04.2012, 04:49
Fuck that CMD. This one here is fixed. Use this.
pawn Код:
CMD:setadminskin(playerid, params[])
{
if(PlayerData[playerid][AdminLevel] >= 1)
{
new string[35], newskin;
if(sscanf(params, "d", newskin)) return SendClientMessage(playerid, COLOR_GREEN, "USAGE: /setadminskin <skinid>");
PlayerData[playerid][AdminSkin] = newskin;
format(string, sizeof(string), "You set your admin skin to %d", newskin);
SendClientMessage(playerid, 0xFFFFFFF, string);
}
return 1;
}