Raised This Month: $12 Target: $400
 3% 

Enum Structs Available This Holiday Season


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 #22

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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode