Saving Attatched objects.
#1

Im trying to find a some way to save attatched obejcts.
I use SQL for everything else in my GM, but saving the attatched objects will require so much from it.

Here is my variables:
pawn Код:
enum _spao
{
    PlayerName[24],
    model[10],
    bone[10],
    Float:fX[10],
    Float:fY[10],
    Float:fZ[10],
    Float:rX[10],
    Float:rY[10],
    Float:rZ[10],
    Float:sX[10],
    Float:sY[10],
    Float:sZ[10]
}

new PlayerAttatchedObjects[MAX_PLAYERS][_spao];
As far as im known with mysql, i have to make fields: playername, model*10, bone*10, fX*10 etc...
Thats 111 fields per player to store it! Not to mention to length of the queries..

Is there an easier way to make this?
Reply


Messages In This Thread
Saving Attatched objects. - by Richie© - 08.03.2012, 17:56
Re: Saving Attatched objects. - by MadeMan - 08.03.2012, 18:05
Re: Saving Attatched objects. - by Richie© - 08.03.2012, 18:22
Re: Saving Attatched objects. - by MadeMan - 08.03.2012, 18:36
Re: Saving Attatched objects. - by Richie© - 08.03.2012, 18:38
Re: Saving Attatched objects. - by MadeMan - 08.03.2012, 18:46

Forum Jump:


Users browsing this thread: 7 Guest(s)