Save player attached objects.
#2

Create 1 table like this.
PlayerName, CostumeIndex, CostumeSlot, bone, x, y, z, rx, ry, rz, px, py, pz

Then just use the right queries.

Get a specific costume
SELECT * FROM `CostumeData` WHERE `PlayerName` = '%s' AND `CostumeIndex` = index

Get all unique costumes
SELECT DISTINCT `CostumeIndex` FROM `CostumeData` WHERE `PlayerName` = '%s'
Reply


Messages In This Thread
Save player attached objects. - by Banditukas - 14.12.2014, 06:06
Re: Save player attached objects. - by Pottus - 14.12.2014, 06:45
Re: Save player attached objects. - by Banditukas - 14.12.2014, 06:52

Forum Jump:


Users browsing this thread: 2 Guest(s)