[HELP] Problem with esx_advancedgarage

SCRIPT ERROR: @esx_advancedgarage/client/main.lua:208: attempt to index a nil value (fied ‘value’)
ref (@esx_advancedgarage/client/main.lua:208)
callback(@esx_menu_default/client/main.lua:29)

How to fix it ?

You are missing stored column on (owned_vehicles) table in MySQL. Delete your (owned_vehicles) tables and replace with this one.

CREATE TABLE IF NOT EXISTS `owned_vehicles` (
  `owner` varchar(30) NOT NULL,
  `plate` varchar(12) NOT NULL,
  `vehicle` longtext NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'car',
  `job` varchar(20) NOT NULL DEFAULT '',
  `stored` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`plate`)
);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.