Errors +Rep
#6

You cant have 4D array, i mean:
pawn Код:
ToyInfo[playerid][tName][..][toyid]; //that isnt possible, becase you are having playerid, name, and string, and toyid, you can only have 3.
i think this would solve your problem:
pawn Код:
enum ToySystem
{
    tCreated,
    tEquipped,
    tIndexID,
    tModelID,
    tBoneID,
    Float: tOffsetX,
    Float: tOffsetY,
    Float: tOffsetZ,
    Float: tRotX,
    Float: tRotY,
    Float: tRotZ,
    Float: tScaleX,
    Float: tScaleY,
    Float: tScaleZ
}
new ToyInfo[MAX_PLAYERS][ToySystem][MAX_TOYS];
new tName[MAX_PLAYERS][MAX_TOYS][128];
Reply


Messages In This Thread
Errors +Rep - by Phil_Cutcliffe - 10.03.2014, 18:04
Re: Errors +Rep - by Phil_Cutcliffe - 10.03.2014, 18:37
Re: Errors +Rep - by Phil_Cutcliffe - 10.03.2014, 20:14
AW: Errors +Rep - by Macronix - 10.03.2014, 20:18
Re: AW: Errors +Rep - by Phil_Cutcliffe - 10.03.2014, 20:23
Re: Errors +Rep - by [D]ry[D]esert - 10.03.2014, 20:48
Re: Errors +Rep - by Phil_Cutcliffe - 10.03.2014, 22:11

Forum Jump:


Users browsing this thread: 2 Guest(s)