AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [TF2]Change gamemode with netprops (https://forums.alliedmods.net/showthread.php?t=272863)

Msalinas2877 10-07-2015 22:42

[TF2]Change gamemode with netprops
 
The game have locked cvars for gamemodes but you can change it with netprops.

GameRules_SetProp("m_bPlayingSpecialDeliveryM ode", 1)

Some netprops:

m_bPlayingKoth
m_bPlayingMedieval
m_bPlayingHybrid_CTF_CP
m_bPlayingSpecialDeliveryMode
m_bPlayingRobotDestructionMode
m_bPlayingMannVsMachine

Mitchell 10-08-2015 00:13

Re: [TF2]Change gamemode with netprops
 
Don't forget about map entities. More than likely weird things would happen.

Msalinas2877 10-08-2015 06:31

Re: [TF2]Change gamemode with netprops
 
Quote:

Originally Posted by Mitchell (Post 2350820)
Don't forget about map entities. More than likely weird things would happen.

II know , i only posted it if someone need it


All times are GMT -4. The time now is 18:34.

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