19.09.2016, 16:12
I have written a simple system about phone saving information.
I want to do: Player use command '/addinfo1 [information]'.
I want to do: Player use command '/addinfo1 [information]'.
Код:
CMD:addino1(playerid, params[])
{
new string[128], playerinfo[64];
if(sscanf(params, "s[64]", playerinfo)) return SendMessage(playerid, 0xFFFF00FF, "Usage: /addinfo1 [Information about another player].");
format(string, sizeof(string), "You have add: [%d] at line Info 1 of your phone.", playerinfo);
SendClientMessageEx(playerid, COLOR_REPORT, string);
PlayerInfo[playerid][pNoidungdanhbas][1] = playerinfo;//This line is error
Код:
error 006: must be assigned to an array




