Float, Int in one array help
#1

pawn Код:
new Sweeping[2][4] =
{
    {0,float:217.8641,float:-351.2237,float:4.6098},
    {1,float:1556.0859,float:-1732.4009,float:13.3828}
};

And am doing this

    for(new i=0; i<=2; i++) {
    Sweeping[i][0] = CreateDynamicObject(854, Sweeping[i][1], Sweeping[i][2], Sweeping[i][3]-1, 0.00000, 0.00000, 0.00000); } //Under Gamememodeinit
Can anyone tell me why it isn't working? No objects are being created.


fixed!!!!!
Reply
#2

Use enum
pawn Код:
enum intfloat
{
Id, Float:x, Float:y, Float:z;
};
new myarray[SIZE][intfloat]=
And remove float: tag from declaration
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)