07.03.2014, 08:53
Код:
stock LoadOrgCash() { new part3[250]; new part2[40]; if (!dini_Exists(SAVE_CASH_TO)) { for (new i=1;i<OrgsCount+1;i++) { dini_Create(SAVE_CASH_TO); format(part3,sizeof(part3),"%d"); Organization[i][cash] = part3; SaveOrgCash(); } } for (new i=1;i<OrgsCount+1;i++) { format(part2,sizeof(part2),"%d", i); format(part3,sizeof(part3),dini_Get(SAVE_CASH_TO,part2)); if (strcmp(part3," ", false) == 0) { part3 = "%d"; } Organization[i][cash] = part3; } return 1; }
Error: "Must be assigned to an array".