1,584
edits
DrinkyBird (talk | contribs) (3.1 is released, so Devfeature templates have been removed) |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
Line 1: | Line 1: | ||
{{ACSWarning}} | {{ACSWarning}} | ||
void '''SetGameModeLimit''' (int ''limit'', int ''value'') | |||
==Usage== | == Usage == | ||
Changes the value of the corresponding limit CVar to ''value''. | Changes the value of the corresponding limit CVar to ''value''. | ||
*'''GAMELIMIT_FRAGS = 0''' | === Parameters === | ||
*'''GAMELIMIT_TIME = 1''' | * ''limit'': The limit to change. One of: | ||
*'''GAMELIMIT_POINTS = 2''' | ** '''GAMELIMIT_FRAGS = 0''' | ||
*'''GAMELIMIT_DUELS = 3''' | ** '''GAMELIMIT_TIME = 1''' | ||
*'''GAMELIMIT_WINS = 4''' | ** '''GAMELIMIT_POINTS = 2''' | ||
*'''GAMELIMIT_WAVES = 5''' | ** '''GAMELIMIT_DUELS = 3''' | ||
** '''GAMELIMIT_WINS = 4''' | |||
** '''GAMELIMIT_WAVES = 5''' | |||
* ''value'': The new value of the limit. For '''GAMELIMIT_TIME''', this must be a fixed-point number; for all other limits, it must be an integer. | |||
== Examples == | |||
{{noexamples}} | |||
[[ | [[Category: ACS functions]] |