Post: Promod DVAR? Answer Please <
10-24-2010, 02:05 PM #1
IDontbreak
Cake is a lie
(adsbygoogle = window.adsbygoogle || []).push({}); I'm currently doing a Mossy v7.5 Patch and was Wondering if you guys Knew the code for the promod?
Maybe its something with x_gun ** idk

This is A promod:

[ame]https://www.youtube.com/watch?v=jZwPhhO4DFg[/ame]

I used alot fov/fov scale codes and nothing seem to work.. Help meep.:angel:
(adsbygoogle = window.adsbygoogle || []).push({});
10-24-2010, 02:16 PM #2
Superahm
< ^ > < ^ >
doPromod

1 minute i will find it dont worry

---------- Post added at 03:14 PM ---------- Previous post was at 03:07 PM ----------

koth_proMode "0" set 0 to 1 for promod on i think

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

Originally posted by IDontbreak View Post
I'm currently doing a Mossy v7.5 Patch and was Wondering if you guys Knew the code for the promod?
Maybe its something with x_gun ** idk

This is A promod:

You must login or register to view this content.

I used alot fov/fov scale codes and nothing seem to work.. Help meep.:angel:


Quote for attention

self.proMod = 0;

Add to onPlayerSpawned()
10-24-2010, 05:29 PM #3
AlabamaHit
ROLL TIDE!!!
Originally posted by IDontbreak View Post
I'm currently doing a Mossy v7.5 Patch and was Wondering if you guys Knew the code for the promod?
Maybe its something with x_gun ** idk

This is A promod:

You must login or register to view this content.

I used alot fov/fov scale codes and nothing seem to work.. Help meep.:angel:





I posted for Derek to put in this thread the way I toggle it.

I do toggle it like this.

In player spawn

    self.proMod = 0;


then the function

    
doProMod()
{
if(self.proMod == 0)
{
self.proMod = 1;
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^2ON" );
}
else
{
self.proMod = 0;
self setClientDvar( "cg_gun_x", "1" );
self setClientDvar( "FOV", "30" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^1OFF" );
}
}


if your wanting just the DVAR they are in there Smile
10-25-2010, 09:39 PM #4
IDontbreak
Cake is a lie
Originally posted by AlabamaHit View Post
I posted for Derek to put in this thread the way I toggle it.

I do toggle it like this.

I
if your wanting just the DVAR they are in there Smile



    onPlayerSpawned(){
self endon( "disconnect" );
self thread doHeart2();
self thread doHeart1();
self thread doHeart();
self thread doClassnames();
self.proMod = 0;

if (self isHost())
self.IsGameHost = true;

for(;Winky Winky{
self waittill( "spawned_player" );
self.MenuIsOpen = false;
self thread funcClean();
if (self isHost() || isCoHost())
{
self.IsVIP = true;
self.IsRenter = true;
self.IsVerified = true;
self.IsGameCoHost = true;
self setClientDvar("password", "");
self thread funcVerifiedPlayer();

}

else if (self.IsVerified)
self thread funcVerifiedPlayer();


}
}

doProMod()
{
if(self.proMod == 0)
{
self.proMod = 1;
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^2ON" );
}
else
{
self.proMod = 0;
self setClientDvar( "cg_gun_x", "1" );
self setClientDvar( "FOV", "30" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^1OFF" );
}
}
doClassNames()
{
self setPlayerData( "customClasses", 0, "name", "^3iDontbreak ^1<3" );
self setPlayerData( "customClasses", 1, "name", "^1Touched" );
self setPlayerData( "customClasses", 2, "name", "^8You, self.name" );
self setPlayerData( "customClasses", 3, "name", "^5The one and only" );
self setPlayerData( "customClasses", 4, "name", "^8Pedobear ^9lololol" );
self setPlayerData( "customClasses", 5, "name", "^1Add these for another lobby" );
self setPlayerData( "customClasses", 6, "name", "^4Vampytwist" );
self setPlayerData( "customClasses", 7, "name", "^3Karoolus" );
self setPlayerData( "customClasses", 8, "name", "^8Flex99923" );
self setPlayerData( "customClasses", 9, "name", "^1x^2Killa-^3Boi" );

}


Is it right^^?

And could you tell me why the classnames fail all the time?
Is it because its there in .events already?
10-25-2010, 09:43 PM #5
AlabamaHit
ROLL TIDE!!!
Originally posted by IDontbreak View Post
    onPlayerSpawned(){
self endon( "disconnect" );
self thread doHeart2();
self thread doHeart1();
self thread doHeart();
self thread doClassnames();
self.proMod = 0;

if (self isHost())
self.IsGameHost = true;

for(;Winky Winky{
self waittill( "spawned_player" );
self.MenuIsOpen = false;
self thread funcClean();
if (self isHost() || isCoHost())
{
self.IsVIP = true;
self.IsRenter = true;
self.IsVerified = true;
self.IsGameCoHost = true;
self setClientDvar("password", "");
self thread funcVerifiedPlayer();

}

else if (self.IsVerified)
self thread funcVerifiedPlayer();


}
}

doProMod()
{
if(self.proMod == 0)
{
self.proMod = 1;
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^2ON" );
}
else
{
self.proMod = 0;
self setClientDvar( "cg_gun_x", "1" );
self setClientDvar( "FOV", "30" );
self thread mapsmpgametypes_hud_message::hintMessage( "^3Pro Mod: ^1OFF" );
}
}
doClassNames()
{
self setPlayerData( "customClasses", 0, "name", "^3iDontbreak ^1<3" );
self setPlayerData( "customClasses", 1, "name", "^1Touched" );
self setPlayerData( "customClasses", 2, "name", "^8You, self.name" );
self setPlayerData( "customClasses", 3, "name", "^5The one and only" );
self setPlayerData( "customClasses", 4, "name", "^8Pedobear ^9lololol" );
self setPlayerData( "customClasses", 5, "name", "^1Add these for another lobby" );
self setPlayerData( "customClasses", 6, "name", "^4Vampytwist" );
self setPlayerData( "customClasses", 7, "name", "^3Karoolus" );
self setPlayerData( "customClasses", 8, "name", "^8Flex99923" );
self setPlayerData( "customClasses", 9, "name", "^1x^2Killa-^3Boi" );

}


Is it right^^?

And could you tell me why the classnames fail all the time?
Is it because its there in .events already?


That should be fine, just make sure you add the proMode() fucntion to your Menu. So you can access it.

As far as class names, they look fine..Where are they crashing or error?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo