03.02.2010, 00:01
Hello I have been working on a dynamic business system and succeeded except for this part. None of my friends know so I have resorted for asking the forum.
I have this part of code:
Errors:
Now if I change that to this
I get:
Please help because I do not know what to do.
Thanks everyone.
I have this part of code:
pawn Код:
new BizNumber[128];
new TOTAL_BIZZ = dini_Int("business_system.cfg", "Number");
new field[13];
for(new i=0; i < TOTAL_BIZZ + 1; i++)
{
format(BizNumber, sizeof(BizNumber), "Biz%d", i);
if(dini_Isset("business_system.cfg", BizNumber))
{
#1 split(dini_Get("business_system.cfg", BizNumber),field,'|');
if(PlayerToPoint(5.0, playerid, field[1], field[2], field[3]))
{
Код:
1. error 048: array dimensions do not match #1
pawn Код:
#2 new input[256] = dini_Get("business_sytem.cfg", BizNumber);
#3 split(input, etc....);
Код:
error 008: must be a constant expression; assumed zero #2 error 048: array dimensions do not match #3
Thanks everyone.