Big fail with Floats
#1

EDIT:

I fixed that problem. Now, I have another.
I'm kind of messed up with the enum and stuff.

script:
pawn Код:
enum ITEM_OFFSET_INFO
{
    item_offset_Model,
    Float:item_offset_X,
    Float:item_offset_Y,
    Float:item_offset_Z,
    Float:item_offset_RX,
    Float:item_offset_RY,
    Float:item_offset_RZ,
    Float:item_offset_SX,
    Float:item_offset_SY,
    Float:item_offset_SZ
}
And:

pawn Код:
static const
    Item_Model_Offsets[][][ITEM_OFFSET_INFO] =
    {
        {{0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0},{0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0}},
        {
            {18865, 0.087447, 0.012902, 0.006751, 275.643493, 336.660583, 185.032272, 0.822100, 0.832766, 0.526139},
            {18865, 0.067102, -0.005328, -0.040320, 255.126037, 354.844573, 351.118927, 0.822099, 0.832765, 0.526139}
        }
    };
Error:
Compilando Terra.h...
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Ajail_YSI_gA"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Ajail_YSI_gC"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Ajail_YSI_gS"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Character_DefaultPosition"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Server_Weathers"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Server_s_OOC"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "Text_Logout"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "propertyDoorInfo"
E:\GTA\Terra Roleplay\pawno\include\Terra\Terra.h(335) : warning 203: symbol is never used: "propertyInfo"
Pawn compiler 3.2.3664 Copyri
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Thanks in advance!
Reply
#2

May be a dumb question, but did you include a_samp.inc? This includes float.inc, which includes
pawn Код:
#pragma rational Float
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)