Error Assigned to an array
#1

I have written a simple system about phone saving 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
Reply


Messages In This Thread
Error Assigned to an array - by SamBum - 19.09.2016, 16:12
Re: Error Assigned to an array - by Kaliber - 19.09.2016, 16:14
Re: Error Assigned to an array - by SamBum - 19.09.2016, 16:47
Re: Error Assigned to an array - by Kaliber - 19.09.2016, 16:54
Re: Error Assigned to an array - by SamBum - 19.09.2016, 17:14
Re: Error Assigned to an array - by Kaliber - 19.09.2016, 17:56
Re: Error Assigned to an array - by SamBum - 20.09.2016, 03:34

Forum Jump:


Users browsing this thread: 1 Guest(s)