08.03.2012, 17:56
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:
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?
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];
Thats 111 fields per player to store it! Not to mention to length of the queries..
Is there an easier way to make this?