11.07.2016, 18:55
Код:
CMD:giveitems(playerid,params[]) { if(pInfo[playerid][pAdminLevel] >= 6) { new string[64], amount; if(sscanf(params, "is[64]", amount,string)) return SendClientMessage(playerid,-1,""chat" /giveallitem [amount] [item name] (MAKE SURE IT'S NOT INVALID!)"); { AddSlotToInventoryWorld(string,amount); } new str[230]; format(str,sizeof(str),"*"COL_YELLOW" %s %s iedeva "COL_WHITE"%i"COL_GREEN" %s",GetAdminName(playerid),PlayerName(playerid), amount, string); } return 1; }