Open skylord-ez opened 1 year ago
The error is that the identifier used (license) is very long to be managed by the SQL script. Try using other identifier such as the in-game name or steam hex. Here's an example:
for k, v in ipairs(GetPlayerIdentifiers(src)) do
if string.sub(v, 1, string.len("steam:")) == "steam:" then
identifier = v
end
end
if identifier == nil then return end
But I'm using esx legacy framework which supports identifier. Is there any other way to increase the value of that data?
Delete current table notbad_health_armour and try this:
CREATE TABLE IF NOT EXISTS `notbad_health_armour` (
`identifier` VARCHAR(255) NOT NULL,
`status` VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (`identifier`)
);
I'm facing this error. How to fix this?