Lenoks Posted May 11, 2025 Share Posted May 11, 2025 I'm making a character mod and when trying to add a custom item to it this error keeps popping up. Because of my limited knowledge of programming i was following this tutorial on youtube and everything was working until that point https://youtu.be/LYVljyEUa24 chainsword.lua Link to comment https://forums.kleientertainment.com/forums/topic/165668-help-expected-near-inspectable/ Share on other sites More sharing options...
Chesed Posted May 12, 2025 Share Posted May 12, 2025 (edited) Remove the text that says "name:" so that those lines of code look like this Quote inst:AddComponent("inspectable") inst:AddComponent("inventoryitem") I think you have mistakenly copied a feature of the program the video maker is using to code that is labelling things. That text shouldn't be part of the code itself. I think that should at least fix this error message. Edited May 12, 2025 by Chesed Link to comment https://forums.kleientertainment.com/forums/topic/165668-help-expected-near-inspectable/#findComment-1815831 Share on other sites More sharing options...
Lenoks Posted May 12, 2025 Author Share Posted May 12, 2025 Thanks, that fixed the problem. 1 Link to comment https://forums.kleientertainment.com/forums/topic/165668-help-expected-near-inspectable/#findComment-1815840 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now