Raised This Month: $ Target: $400
 0% 

two different cvar values for two different players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TheBladerX
Member
Join Date: Dec 2012
Location: Slovakia
Old 12-28-2018 , 12:33   two different cvar values for two different players
Reply With Quote #1

Hello...
I have default cvar of value 4

Code:
farba = register_cvar("farbahud", "4")
And I would like to make following:
One player would have
Code:
set_pcvar_num( farba , 3 );
and the second
Code:
set_pcvar_num( farba , 2 );
simultaneously for example.

That means I need to make those cvars individual to all players, it would not be just server cvar, but every player will have his own individual value of cvar. Thanks

Last edited by TheBladerX; 12-28-2018 at 12:34.
TheBladerX is offline
 



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 07:33.


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