Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: LeToucan
Forum: Scripting 12-26-2018, 16:23
Replies: 43
Views: 108,011
Posted By LeToucan
Re: Enum Structs Available This Holiday Season

Thank you, after setting the blocksize to sizeof(f), it worked perfectly.
Forum: Scripting 12-26-2018, 15:33
Replies: 43
Views: 108,011
Posted By LeToucan
Re: Enum Structs Available This Holiday Season

So since enum structs are treated as an array, when using array fields they are treated as 2 dimensional arrays, and thus wouldn't correctly work with ArrayLists? The section outlining using them...
Forum: Scripting 12-24-2018, 03:19
Replies: 43
Views: 108,011
Posted By LeToucan
Re: Enum Structs Available This Holiday Season

Is there a way we can push enum structs with array fields in them into an ArrayList? For example,

#include <sourcemod>

enum struct Foo {
int x;
int y;
char strTest[32];
int iTest[16];
}
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 07:03.


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