UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Using custom dvars?

broken avatar :(
Created 10 years ago
by AlecKeaneDUB
0 Members and 1 Guest are viewing this topic.
1,598 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 September 2014
Last active: 9 months ago
Posts
191
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Let's all just light up a blunt, and make stuff.
×
AlecKeaneDUB's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
AlecKeaneDUB's Contact & Social LinksAlecKeaneDUBaleckeanedubAlecKeaneDUB
I want to use the dvar "cg_ScoresColor_Zombie" to change the background color of the points bar and a couple other dvars but I have no idea where I would put them. In a cfg file? In _zombiemode.gsc? Help please
Marked as best answer by AlecKeaneDUB 10 years ago
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
in zombiemode.gsc or in a seperate script. call after zombiemode::main();

Code Snippet
Plaintext
players = get_players();
for ( i = 0; i < players.size; i++ )
{
    players[ i ] setClientDvar( "DVAR HERE", 0); // second arg is the value
}

The above is for client Dvars

 
Loading ...