29.11.2016, 16:33
Can someone help me with this error?
I really don't know what's happening there!
I tried a lot of things, but didn't work for me (Maybe im low on it!)!
Heres code:
Код HTML:
error 076: syntax error in the expression, or invalid function call
I tried a lot of things, but didn't work for me (Maybe im low on it!)!
Heres code:
Код HTML:
CMD:giveitem(playerid,params[]) { if(pInfo[playerid][pAdminLevel] >= 6) { new string[64], amount; if(sscanf(params, "is[64]", amount,string)) return SendClientMessage(playerid,-1,""chat" /giveallitems [amount] [item name] (MAKE SURE IT'S NOT INVALID!)"); { AddSlotToInventoryWorld(string,amount); } new str[230]; format(str,sizeof(str),"*"COL_YELLOW" %s %s has given everyone "COL_WHITE"%i"COL_GREEN" %s",GetAdminName(playerid),PlayerName(playerid), amount, string); } return 1; }