Re: Enum Structs Available This Holiday Season
Quote:
https://github.com/alliedmodders/sourcepawn/issues/295 |
Re: Enum Structs Available This Holiday Season
PHP Code:
I don't know how sizeof of structs works, but if i have 3 members, calling g_Players = new ArrayList(3) it's wrong (only the first paramater - "steam" works fine), so g_Players = new ArrayList(sizeof(PlayerInfo)) it's the correct one. |
Re: Enum Structs Available This Holiday Season
Quote:
|
Re: Enum Structs Available This Holiday Season
I've made a very slight change to the enum struct syntax. The final closing brace (}) must now be followed by a newline. Semicolons are not allowed even with #pragma semicolon, to be consistent with most other close-brace scenarios.
|
Re: Enum Structs Available This Holiday Season
Quote:
|
Re: Enum Structs Available This Holiday Season
Done, thanks!
|
Re: Enum Structs Available This Holiday Season
Hello,
Why this one is invalid ? error 008: must be a constant expression; assumed zero PHP Code:
used version 6421 |
Re: Enum Structs Available This Holiday Season
Quote:
|
Re: Enum Structs Available This Holiday Season
Quote:
|
Re: Enum Structs Available This Holiday Season
Quote:
|
All times are GMT -4. The time now is 19:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.