error 008: must be a constant expression; assumed zero
#1

Hello,

I have this code:
Код:
new barrierturn[5];

enum eMoving {
	command[64],
	objectid,
    Float:x,
    Float:y,
    Float:z,
    Float:rx,
    Float:ry,
    Float:rz,
    Float:nx,
    Float:ny,
    Float:nz,
    Float:nrx,
    Float:nry,
    Float:nrz
}
new moving [][eMoving]=
{
    {"Burrier1", barrierturn[0], -1701.43505859,687.79998779,24.79999924,0.00000000,270.00000000,90.00000000, -1701.43505859,687.79998779,24.79999924,0.00000000,0.00000000,90.00000000}
};
Код:
barrierturn[0] = CreateDynamicObject(968,-1701.43505859,687.79998779,24.79999924,0.00000000,270.00000000,90.00000000); //object(barrierturn) (1)
and this is my error:
D:\x.pwn(25) : error 008: must be a constant expression; assumed zero
on this line:
Код:
    {"Burrier1", barrierturn[0], -1701.43505859,687.79998779,24.79999924,0.00000000,270.00000000,90.00000000, -1701.43505859,687.79998779,24.79999924,0.00000000,0.00000000,90.00000000}
what to do?
Thanks.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)