Post: Gamemodes
12-04-2011, 03:41 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey,

Im editing a IWD patch for AlterIWNet, but now, i would like to make a menu to change the gamemode (FFA to TDM) etc. in game.

The menu is done, but im searching for the vars to change it
Originally posted by another user
self setClientDvar("ui_gametype", mode);
self setClientDvar("party_gametype", mode);
self setClientDvar("g_gametype", mode);

Where mode is in the code, have to stand a text like GTNW, but i dont know the names of the gamemodes..
Can anyone tell me?

Sorry for bad english Smile

- Edit:Sorry its in the wrong section, can anyone kick it to Questions?
(adsbygoogle = window.adsbygoogle || []).push({});
12-04-2011, 04:23 PM #2
FoxkaZ
Retired Super
Originally posted by NorthEast View Post
Hey,

Im editing a IWD patch for AlterIWNet, but now, i would like to make a menu to change the gamemode (FFA to TDM) etc. in game.

The menu is done, but im searching for the vars to change it

Where mode is in the code, have to stand a text like GTNW, but i dont know the names of the gamemodes..
Can anyone tell me?

Sorry for bad english Smile

- Edit:Sorry its in the wrong section, can anyone kick it to Questions?


Moved to the correct section. :y:
12-04-2011, 09:39 PM #3
Hey after a bit research, and made some code to see it:

Now here is the result:
Originally posted by another user
FREE FOR ALL - DM
TEAM DEATHMATCH - WAR
SEARCH AND DESTROY - SD
SABOTAGE - SAB
DOMINATION - DOM
HEADQUATERS - KOTH
CAPTURE THE FLAG - CTF
DEMOLITION - DD


I hope its usefull, now write the code which changes the gamemode Smile

The following user thanked NorthEast for this useful post:

FoxkaZ
12-06-2011, 02:46 AM #4
i need roll the dice code
12-12-2011, 04:44 PM #5
FoxkaZ
Retired Super
Issue resolved.

Closed.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo