PDA

View Full Version : Variable String Error


NeroX98
11/12/2016, 07:59 PM
I have this:
enum IgracPodatoci
{
Lozinka[512]
}
new iData[MAX_PLAYERS][IgracPodatoci];

When i try to change that value to something:
iData[playerid][Lozinka] = "asd";
I get this error:
error 047: array sizes do not match, or destination array is too small

GoldenLion
11/12/2016, 08:00 PM
You must use format or strcat/strcpy.