View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-07-2019 , 03:11   Re: Enum Structs Available This Holiday Season
Reply With Quote #21

Quote:
Originally Posted by Powerlord View Post
I can't help but notice when I try to include an enum struct in a native definition that the compiler tells me that I can't do this:

Code:
error 135: cannot use enum struct type "MapChoices_GetMapData" in natives
Won't this limit their usefulness?

Also, the error is reporting the native name rather than the enum struct name.
https://github.com/alliedmodders/sou...ment-445578252

https://github.com/alliedmodders/sourcepawn/issues/295
__________________
asherkin is offline