17.08.2017, 19:40
https://sampforum.blast.hk/showthread.php?tid=318212
How's FurnitureData going to be indexed? You need to make a two dimensional array.
An example:
How's FurnitureData going to be indexed? You need to make a two dimensional array.
An example:
PHP код:
#define MAX_FURNITURE (1000)
enum fInfo
{
SQLID,
HouseSQLID,
FurnitureID,
Float: furnitureX,
Float: furnitureY,
Float: furnitureZ,
Float: furnitureRX,
Float: furnitureRY,
Float: furnitureRZ
}
new FurnitureData[MAX_FURNITURE][fInfo];