Post: End Game dvar
06-24-2015, 10:32 AM #1
Origin
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Does anyone know the end game dvar?
(adsbygoogle = window.adsbygoogle || []).push({});
06-25-2015, 05:27 AM #2
Adrian
Adrian is back!
Originally posted by Origin242343 View Post
Does anyone know the end game dvar?


cbuf_addtext is used.. it is quite easy in fact.. all you do is put this code at the top of your tool
    public static void EndGame() {
cbuf_addtext("gametype_setting timelimit 0");
}


where the 0 is you can play with that.. that is for unlimited time so you play around with that to make it just end the game. i forgot what to put... then in the button for endgame all you do is put EndGame()

im sure there is a more simple way to do it but this is what i used Smile
06-25-2015, 09:20 AM #3
Origin
Pokemon Trainer
Originally posted by .Adrian View Post
cbuf_addtext is used.. it is quite easy in fact.. all you do is put this code at the top of your tool
    public static void EndGame() {
cbuf_addtext("gametype_setting timelimit 0");
}


where the 0 is you can play with that.. that is for unlimited time so you play around with that to make it just end the game. i forgot what to put... then in the button for endgame all you do is put EndGame()

im sure there is a more simple way to do it but this is what i used Smile


I tried that method before. The lowest i could get was 1 minute.
06-25-2015, 09:27 AM #4
Adrian
Adrian is back!
Originally posted by Origin242343 View Post
I tried that method before. The lowest i could get was 1 minute.


mmm i have done it before i forgot what to put have u tried putting 0.20? i do not know if you can put numbers with points in them but worth a try Smile
06-25-2015, 09:36 AM #5
Origin
Pokemon Trainer
Originally posted by .Adrian View Post
mmm i have done it before i forgot what to put have u tried putting 0.20? i do not know if you can put numbers with points in them but worth a try Smile


I tried zero to a decimal place as well however it just sets time to unlimited

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo