{"action":"created","issue":{"url":"https://api.github.com/repos/Chessnut/NutScript/issues/479","labels_url":"https://api.github.com/repos/Chessnut/NutScript/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/Chessnut/NutScript/issues/479/comments","events_url":"https://api.github.com/repos/Chessnut/NutScript/issues/479/events","html_url":"https://github.com/Chessnut/NutScript/issues/479","id":77259613,"number":479,"title":"Vehicle item error","user":{"login":"Trixas","id":9440408,"avatar_url":"https://avatars.githubusercontent.com/u/9440408?v=3","gravatar_id":"","url":"https://api.github.com/users/Trixas","html_url":"https://github.com/Trixas","followers_url":"https://api.github.com/users/Trixas/followers","following_url":"https://api.github.com/users/Trixas/following{/other_user}","gists_url":"https://api.github.com/users/Trixas/gists{/gist_id}","starred_url":"https://api.github.com/users/Trixas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trixas/subscriptions","organizations_url":"https://api.github.com/users/Trixas/orgs","repos_url":"https://api.github.com/users/Trixas/repos","events_url":"https://api.github.com/users/Trixas/events{/privacy}","received_events_url":"https://api.github.com/users/Trixas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T08:58:56Z","updated_at":"2015-05-17T15:26:09Z","closed_at":"2015-05-17T15:26:09Z","body":"Hi, what can be wrong?\r\n```\r\n[ERROR] gamemodes/nutscript/gamemode/core/derma/cl_inventory.lua:105: bad argument #2 to 'L' (no value)\r\nL - [C]:-1\r\nsetInventory - gamemodes/nutscript/gamemode/core/derma/cl_inventory.lua:105\r\ncallback - gamemodes/nutscript/gamemode/core/derma/cl_inventory.lua:401\r\nDoClick - gamemodes/nutscript/gamemode/core/derma/cl_menu.lua:171\r\nunknown - lua/vgui/dlabel.lua:218\r\n```\r\nCode for vehicle item is:\r\n```\r\nITEM.name = \"Chevrolet Impala\"\r\nITEM.model = \"models/lonewolfie/chev_impala_09_police.mdl\"\r\nITEM.width = 1\r\nITEM.height = 1\r\nITEM.physDesc = \"Simple desc\"\r\nITEM.desc = \"The best Chevrolet car\"\r\nITEM.maxGas = 50\r\nITEM.maxGas = 1000\r\nITEM.price = 35000\r\nITEM.vehicleData = {\r\ntype = TYPE_GENERIC,\r\nmodel = ITEM.model,\r\nscript = \"scripts/vehicles/lwcars/chev_impala_09.txt\",\r\nname = ITEM.name,\r\nphysDesc = ITEM.physDesc,\r\nmaxGas = ITEM.maxGas,\r\nseats = {\r\n{\r\npos = Vector(14.188320159912, 8.272798538208, 1.2972664833069),\r\nang = Angle(0, 0, 0),\r\n}\r\n}\r\n}\r\n```\r\nBtw, spawned car does have Name and desc, but in inventory it only prints models/lonewolfie/chev_impala_09_police.mdl\r\n"},"comment":{"url":"https://api.github.com/repos/Chessnut/NutScript/issues/comments/102814869","html_url":"https://github.com/Chessnut/NutScript/issues/479#issuecomment-102814869","issue_url":"https://api.github.com/repos/Chessnut/NutScript/issues/479","id":102814869,"user":{"login":"Chessnut","id":1689094,"avatar_url":"https://avatars.githubusercontent.com/u/1689094?v=3","gravatar_id":"","url":"https://api.github.com/users/Chessnut","html_url":"https://github.com/Chessnut","followers_url":"https://api.github.com/users/Chessnut/followers","following_url":"https://api.github.com/users/Chessnut/following{/other_user}","gists_url":"https://api.github.com/users/Chessnut/gists{/gist_id}","starred_url":"https://api.github.com/users/Chessnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chessnut/subscriptions","organizations_url":"https://api.github.com/users/Chessnut/orgs","repos_url":"https://api.github.com/users/Chessnut/repos","events_url":"https://api.github.com/users/Chessnut/events{/privacy}","received_events_url":"https://api.github.com/users/Chessnut/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T15:26:09Z","updated_at":"2015-05-17T15:26:09Z","body":"You need an `ITEM.desc`"}}