Disable Class Choice for one team
#1
I know the command is setclientDvar( "scr_disable_cac", 1 ), but how do you disable the class menu for only one team, or for humans only (not bots)?
Thanks
kobsen

#2
Code:
setDvar( "g_allow_teamchange", 0 );

this will skip the team selection and enable auto assign
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu


#3
That's not what he ment

#4
Code:
onPlayerConnected() { while( true ) { level waittill( "connected", player ); if( !player.pers[ "isBot" ] ) self [[level.allies]](); } }

?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu


#5
he wanted that if he is on allies for example the classchoose menu shouldnt appear. i rhink he wanted that.
[Image: ctoc.jpg]

#6
self [[level.class]]("smg_mp"); ?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click

#7
Yes, I am trying to just disable the class choice menu in the beginning for only the players, not the bots. I give the same weapon at the beginning to every player and the same weapon to all bots.
If i do the setclientDvar( "scr_disable_cac", 1 ), the bots suddenly have whatever weapon they want. Thus, I only want to disable class choice for humans.
The "self [[level.class]]("smg_mp")" doesnt seem to work either.

#8
Bump Big Grin

I don't want zombies to see the create a class window every time they respawn.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable Planting on Bomb clemi555 4 5,484 11-04-2013, 07:59
Last Post: clemi555
  Help How to disable auto balance? .sepultura. 3 5,615 10-07-2013, 19:44
Last Post: Nekochan
Question Help Team DAMAGE offhand E-losev 0 3,399 09-17-2013, 12:03
Last Post: E-losev
  Help choose 2 random players?(1 each team) 26hz 6 6,347 09-12-2013, 17:32
Last Post: Yamato
  Name Team CheGuevara 1 4,365 06-01-2013, 14:15
Last Post: Yamato
  Team struct Deviler86 6 7,728 04-10-2013, 15:23
Last Post: x1412
  Sniper rifles bullet's spread & Preventing joining to a team lammv 11 10,411 03-15-2013, 12:53
Last Post: lammv
  Sending a plaeyr to axis or allies team lammv 0 2,893 01-26-2013, 18:59
Last Post: lammv
  W@W: Making player spawn with a custom default class. koil 9 7,628 01-13-2013, 12:10
Last Post: koil
  [Request] Disabling Custom Classes NOT CHOOSE CLASS DidUknowiPwn 5 5,405 01-10-2013, 04:32
Last Post: banz

Forum Jump:


Users browsing this thread:

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.