✅ AddPizzaMenuItem line 35
Why is the Pizza_Style not working on the AddPizzaMenuItem class on line 35, i want to use the enum values from the recipe class. Help please!
25 Replies
Its kinda big so it might take a bit ;-;
use $paste
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
dont post zip
dont post the bin folder etc
oh uhh
its not needed
how come?
how come what
how come i cant post my code like i have? cant people just open it and download it for themselves?
also my code isnt on one big page, its split into different classes in VS
that file can add multiple tabs
so u can add multiple pages
discord is ass for embed files
oh alright thanks :3
Alternatively, make a Github repo and post a link
Omg its not letting me make more tabs on this paste.mod.gg site
uhhuh
u just click the +
it looks like 6 is the max i can do
ah I see well then github would be more adequate if u need to post that much
omg i need to make a github account
it would be easier if u just post the essential related to your issue
uhhh
actually lemme see if i can post just 4 tabs and see if i can get an answer
BlazeBin - zcdyjiagqpve
A tool for sharing your source code with the world!
line 35 on the AddPizzaMenuItem tab
the Pizza_Style at the start isnt working and its underlined red and says
the type or namespace name Pizza_Style could not be found(are u missing a using directive or assembly reference?)
i think this is enough code to show it
help please ;-;
the Pizza_style enum values are in the Recipe tab
i dont get why Recipe.Pizza_Style works in the AddPizzaMenuItem tab but the line 35 one doesnt
Pizza_Style style = (Recipe.Pizza_Style)selectedIndex;
Needs to be
Recipe.Pizza_Style style = (Recipe.Pizza_Style)selectedIndex;
Or simply
var style = (Recipe.Pizza_Style)selectedIndex;
ill try this
IT WORKED
i forgot a . omg
thank you!!!!
:catlove:
Use the /close command to mark a forum thread as answered
:blobthumbsup: