This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

create_cvar max value


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PartialCloning
Senior Member
Join Date: Dec 2015
Old 12-11-2015 , 00:10   create_cvar max value
Reply With Quote #1

I'm not entirely sure if this isn't working or if I misunderstood the intended usage of the min and max values, but I was still able to change the cvar value using 'amx_cvar cvar_countdown 30' to a value higher than the max value.

PHP Code:
create_cvar("cvar_countdown""10"_"Count down in seconds"true0.0true25.0); 
I'm using 1.8.3-dev-git4958.
PartialCloning is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-11-2015 , 04:15   Re: create_cvar max value
Reply With Quote #2

You're right. Looks like I was drunk when I did the change to enable the hook (which detect any cvar value change) only when needed. Will fix that asap.

EDIT: Fixed.
__________________

Last edited by Arkshine; 12-11-2015 at 08:46.
Arkshine is offline
nokidding
New Member
Join Date: Apr 2024
Old 05-13-2024 , 07:44   Re: create_cvar max value
Reply With Quote #3

Quote:
Originally Posted by PartialCloning View Post
In Australia, I found this site to play and I am very happy about it, because the site: https://pokiez-au.com/ , has the best gaming environment for players all over Australia! As for me, it's great to play here, because there are many cool slot machines on all kinds of themes that you will definitely like!
nice
nokidding is offline
Reply



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 19:22.


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