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

Showing results 1 to 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: Tirant
Forum: Module Coding 09-09-2011, 02:56
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities (v1.3)

Yes, just a stock.
Forum: Module Coding 09-08-2011, 17:12
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities (v1.3)

Since you mention it... It might be useful to have a special native for registering boolean cvars. It would basically just lock the given cvar to min 0.0, max 1.0. Most cvars are 0/1. I know you...
Forum: Module Coding 09-08-2011, 14:26
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

Well, I had to write a new version of read_flags, because I needed to use 32 bits in order to have it work for weapons. I appreciate it though. Event functions are being called properly also.
Forum: Module Coding 09-08-2011, 04:56
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

I look forward to it
Forum: Module Coding 09-07-2011, 13:45
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

I'm not sure if I follow you still. What I have is something like this. What I wanted to know was whether or not hookFlagsChanged() gets called with the current cvar value when CvarHookChange() is...
Forum: Module Coding 09-07-2011, 12:34
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

You're anything but stupid, lol. I'm just bad ad explaining sometimes. Well, for instance, I use a CVAR with flags ("abcdefg"), and I store it internally as a bitsum to help save processing the...
Forum: Module Coding 09-06-2011, 19:16
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

I'm not sure if your module does this, but it would be helpful if CvarHookChange, or CvarCache would cache the current value when the hook is created, or call the function when it is created. Even...
Forum: Module Coding 09-05-2011, 08:21
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

Thank you very much. I've been using this a lot in all my new plugins, it's really VERY handy IMO. The new feature of caching updated cvar values into variables will be really helpful. I usually...
Forum: Module Coding 07-09-2011, 16:43
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

This should produce the error. It's not really an error with your module, it's just that you're module isn't blocking or telling amx_cvar that the value isn't really what your module has clamped it...
Forum: Module Coding 07-09-2011, 15:11
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

Force interval works, but amx show commands doesn't. I'll show when I get home, but there is only registering a new cvar. Set a cvar to forceinterval and then amx show admin commands to "1" and type...
Forum: Module Coding 07-09-2011, 12:13
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

All I did was register a cvar, and set a min and max value. The amxx show commands or whatever cvar displays "my_cvar" changed to "100" when the limit is 1.

What I mean by Boolean function, was a...
Forum: Module Coding 07-09-2011, 07:41
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

I've found a bug. If you have show cvar changes enabled, and you have a min/max value for a cvar set, it messages the cvar has "changed" to the value entered, when you're mod cancels it. It's a bit...
Forum: Module Coding 07-09-2011, 06:30
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

It would be super cool if amxx or this would support boolean cvars with only <0/1> or <false/true> or <disabled/enabled>.
Forum: Module Coding 07-09-2011, 06:21
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

You have the cvar description inputted in with registering a cvar. What exactly is it's purpose? It would be nice if somewhere there was a command for an admin to display all cvars with their...
Forum: Module Coding 06-24-2011, 07:15
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

Main reason why I might use it is for the clamp. But the other forwards are really cool as well.
Forum: Module Coding 06-24-2011, 06:15
Replies: 193
Views: 127,082
Posted By Tirant
Re: Cvar Utilities

Very cool!
Showing results 1 to 16 of 16

 
Forum Jump

All times are GMT -4. The time now is 04:27.


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