Raised This Month: $ Target: $400
 0% 

Invisible CVAR.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lonely
Junior Member
Join Date: Oct 2006
Old 01-24-2007 , 04:33   Re: Invisible CVAR.
Reply With Quote #1

Quote:
Originally Posted by dutchmeat View Post
Let a variable act like a cvar...
???
Variable will be redefined each mapchange. But she must store its value, and plugin, by itself, can change this value.

new var1=1
...//deep in plugin
var1=0
...//after mapchange
new var1=1 //again! Var1 is now 1, but must be 0.
Lonely is offline
KoST
Senior Member
Join Date: Jul 2005
Old 01-24-2007 , 04:43   Re: Invisible CVAR.
Reply With Quote #2

click here

Code:
FCVAR_SPONLY        This cvar cannot be changed by clients connected to a multiplayer server.
__________________
KoST is offline
Lonely
Junior Member
Join Date: Oct 2006
Old 01-24-2007 , 04:50   Re: Invisible CVAR.
Reply With Quote #3

Quote:
Originally Posted by KoST View Post
click here

FCVAR_SPONLY This cvar cannot be changed by clients connected to a multiplayer server.
But can be viewed via amx_cvar. Or not?


Just tried FCVAR_SPONLY. This flag has no effect. I still can change cvar via amx_cvar.

Last edited by Lonely; 01-24-2007 at 05:06.
Lonely 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 22:27.


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