Closed mooseh closed 3 years ago
found a fix in KASH4's Repo
CREATE TABLE IF NOT EXISTS `playeritems` (
`id` int(11) NOT NULL,
`citizenid` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`amount` int(11) NOT NULL,
`info` text DEFAULT NULL,
`type` varchar(255) NOT NULL,
`slot` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
That table already exists...
https://github.com/qbcore-framework/qb-inventory/blob/main/qb-inventory.sql
when loading into my server I get the following message
`[qb-core] An error happens for query "SELECT * FROM `playeritems` WHERE `citizenid` = '****' : []": ER_NO_SUCH_TABLE: Table 'mooseh_fivem.playeritems' doesn't exist