18.09.2012, 00:08
Hello,
I have this code:
and this is my error:
D:\x.pwn(25) : error 008: must be a constant expression; assumed zero
on this line:
what to do?
Thanks.
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)
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}
Thanks.


