15.05.2011, 18:11
(
Последний раз редактировалось [KO]KillerThriller; 15.05.2011 в 19:51.
)
pawn Код:
stock LoadBankCPS()
{
new BankCount;
for(new i = 0; i < MAX_CHECK_POINTS;i++)
{
BankCP[i] = CreateDynamicCP(bankcp[i][0],bankcp[i][1],bankcp[i][2],bankcp[i][3],-1,-1,-1,120.0);
BankCount++;
}
printf("||- Banks loaded: %i -||",BankCount);
return 1;
}
pawn Код:
new Float:bankcps[][1] =
{
{1026.9849,-1582.9633,13.5469,2.0}
};
pawn Код:
BankCP[i] = CreateDynamicCP(bankcp[i][0],bankcp[i][1],bankcp[i][2],bankcp[i][3],-1,-1,-1,120.0);
Код:
C:\Users\Admin\Desktop\test server\gamemodes\gamem.pwn(3163) : error 017: undefined symbol "bankcp" C:\Users\Admin\Desktop\test server\gamemodes\gamem.pwn(3163) : warning 215: expression has no effect C:\Users\Admin\Desktop\test server\gamemodes\gamem.pwn(3163) : error 001: expected token: ";", but found "]" C:\Users\Admin\Desktop\test server\gamemodes\gamem.pwn(3163) : error 029: invalid expression, assumed zero C:\Users\Admin\Desktop\test server\gamemodes\gamem.pwn(3163) : fatal error 107: too many error messages on one line