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

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: LeToucan
Forum: Scripting 12-26-2018, 16:23
Replies: 43
Views: 108,353
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,353
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,353
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];
}
Forum: Scripting 08-11-2016, 00:03
Replies: 13
Views: 4,357
Posted By LeToucan
Re: Giving usp-s instead of hpk2000...

Since you're using GiveNamedItem Econ, you can use the forward GNIEcon_OnGiveNamedItem to override their loadout. You can prevent players from getting the weapon they have equipped in their inventory...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 09:06.


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