Originally Posted by
CainFool
[php]dvarpicker() {
if(self isHost())
self notifyOnPlayerCommand("coor", "+smoke");
{
self waittill("coor"); //Begins Set 1
self thread maps\mp\gametypes\_hud_message::hintMessage("^1DVA R 1 - ^2ACTIVATED!"); //This will activate all the dvars that begin. SET 1.
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Cre ated by ^2C^1a^2i^1n^2F^1o^2o^1o^2l");
self setClientDvar ("jump_height", 200); //This will activate the Jump Height to 200 instead of 39.
self setClientDvar ("g_speed", 210); //This will slightly change the speed you walk and run.
self setClientDvar ("player_sprintspeedscale", 5); //This changes the sprint speed to maximum.
selt waittill("coor"); //Begins Set 2
self thread maps\mp\gametypes\_hud_message::hintMessage("^1DVA R 2 - ^2ACTIVATED!"); //This will activate all the second dvars.
self setClientDvar ("jump_height", 280); //This will change the Jump Height to 280 instead of 39.
self setClientDvar ("g_speed", 400); //This will dramatically change the speed you will walk + run.
self setClientDvar ("player_sprintSpeedScale", 5); //This changes the sprint speed to maximum.
self waittill("coor"); //Begins Set 3
}
}[/php]
That right so far? Every lobby I host they always ask for high jump and fast running, so I made a activator-ish.
Every time you press (Q to activate Smoke) it activates whatevar ClientDvar I make.
Is it right, just confirming?