BradApex 9 Posted April 14, 2018 Hey Everyone, I have made a spawn menu and it's all working, I have the following error when the menu opens, I don't know how to fix this can anyone assist? Share this post Link to post Share on other sites
stanhope 411 Posted April 14, 2018 Can you pastebin your description.ext? Share this post Link to post Share on other sites
gc8 977 Posted April 14, 2018 you need to define the rowHeight variable inside the SpawnPointList class 1 Share this post Link to post Share on other sites
BradApex 9 Posted April 14, 2018 43 minutes ago, stanhope said: Can you pastebin your description.ext? here you go, this is my Baseclasses so its what I have defined, and the description.ext is below. https://pastebin.com/aExdyU8X // Defines.hpp https://pastebin.com/189U5uW6 // Description.ext Share this post Link to post Share on other sites
stanhope 411 Posted April 14, 2018 The error is in all likelihood gonna be in this file: #include "config\Config_SpawnPoints.hpp". And as gc8 said you'll need to define rowheight. Share this post Link to post Share on other sites
BradApex 9 Posted April 14, 2018 Just now, stanhope said: The error is in all likelihood gonna be in this file: #include "config\Config_SpawnPoints.hpp". And as gc8 said you'll need to define rowheight. Where do I define this in the list box class if so what do I put this haven't got this error before. Share this post Link to post Share on other sites
stanhope 411 Posted April 14, 2018 I don't often do GUIs so i don't know by hard, but if you just follow the path of the error you should get to the place where the error is happening and thus where you'll need to define something. Share this post Link to post Share on other sites
gc8 977 Posted April 14, 2018 Here's one example how the variable could be defined: class RscListBox { deletable = 0; fade = 0; access = 0; type = 5; rowHeight = 0; // <---- defines the variable // rest of class code }; If you have RscListBox defined somewhere you could just inherit all the variables. Share this post Link to post Share on other sites