Help :s
#1

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}
};
error line:
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
Reply
#2

Sorry to double post but i updated the thread... i sitll have the problem.
Reply
#3

You have all the files, includes, etc.?
Reply
#4

Quote:
Originally Posted by lowrida018
Посмотреть сообщение
You have all the files, includes, etc.?
Yes, but what does it matter?
Reply
#5

I don't know but try
pawn Код:
new Float:bankcps[3][1] =
{
    {1026.9849,-1582.9633,13.5469,2.0}
};
or
pawn Код:
new Float:bankcps[1][3] =
{
    {1026.9849,-1582.9633,13.5469,2.0}
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)