Timeleft bug
+4
hazik666
vladkboy
Agent Smith
DarkNess
8 posters
Page 1 of 1
Timeleft bug
I dont know if this can be fixed but it would be nice,
When an T switches to CT like halfway the map and someone else goes T the time gets reset so you will have to play the map for the full 20 minutes again.
Sometimes this happens 2-4 times a map so your stuck in the same map for 1 and an half hour quite anoying.
When an T switches to CT like halfway the map and someone else goes T the time gets reset so you will have to play the map for the full 20 minutes again.
Sometimes this happens 2-4 times a map so your stuck in the same map for 1 and an half hour quite anoying.
DarkNess- Number of posts : 4591
Age : 30
Birthday : 1994-07-24
Location : Holland
Job/hobbies : This is Serious.
Registration date : 2009-06-23
Re: Timeleft bug
Yeah "Game Commening" causes that.
Agent Smith- Number of posts : 2308
Age : 29
Birthday : 1995-04-29
Location : Holland
Registration date : 2009-07-08
Re: Timeleft bug
Yup tht is annoying !
vladkboy- nD* Jail Member
- Number of posts : 1533
Age : 28
Birthday : 1995-12-22
Location : Portugal
Job/hobbies : Alot :P
Registration date : 2009-03-08
Re: Timeleft bug
there is a few ways to fix that but it is one of the plugins you need your server to run on but someone prolly will make 1
hazik666- nD* Fun Member
- Number of posts : 4838
Age : 1351
Birthday : 0672-12-27
Location : Scotland
Registration date : 2009-02-27
Re: Timeleft bug
I know this is to late to post, but i dont know if u know how to fix this.
Automatlicy add a bot to the team that are dead if there are 1 left in the team
and so on
Automatlicy add a bot to the team that are dead if there are 1 left in the team
and so on
Morfy- Number of posts : 160
Age : 29
Birthday : 1995-05-23
Registration date : 2009-10-18
Re: Timeleft bug
Morfy wrote:I know this is to late to post, but i dont know if u know how to fix this.
Automatlicy add a bot to the team that are dead if there are 1 left in the team
and so on
There is a bot at one of the teams, maybe we can add a bot to the ct team so it wont happen again.
Pukata- Admin
- Number of posts : 1872
Age : 31
Birthday : 1993-07-21
Location : Denmark
Registration date : 2009-02-21
Re: Timeleft bug
I do plugin for save timeleft
but he have some bug if u can fix it - do it
sometimes plugin set timelimit 12 min
sorry for my english
but he have some bug if u can fix it - do it
sometimes plugin set timelimit 12 min
- Code:
#include <amxmodx>
#include <amxmisc>
new Float:g_last_game_time
new Float:g_curr_timelimit
new g_no_first_rest
public plugin_init()
{
register_plugin("No change gametime in restart", "1.0", "LaFA")
register_event("TextMsg", "event_textmsg", "a", "2=#Game_will_restart_in")
register_logevent("event_roundend",2,"1=Game_Commencing")
}
public event_textmsg()
{
if(!g_no_first_rest)
{
g_last_game_time = get_gametime()
g_no_first_rest = true
if(g_last_game_time != 0.0)
server_cmd("mp_timelimit %f", get_cvar_float("mp_timelimit") - (g_last_game_time / 60.0))
}
else if(g_no_first_rest)
{
g_curr_timelimit = get_gametime() - g_last_game_time
g_last_game_time = get_gametime()
if(g_curr_timelimit != 0.0)
server_cmd("mp_timelimit %f", get_cvar_float("mp_timelimit") - (g_curr_timelimit / 60.0))
}
}
public event_roundend()
{
if(!g_no_first_rest)
{
g_last_game_time = get_gametime()
g_no_first_rest = true
if(g_last_game_time != 0.0)
server_cmd("mp_timelimit %f", get_cvar_float("mp_timelimit") - (g_last_game_time / 60.0))
}
else if(g_no_first_rest)
{
g_curr_timelimit = get_gametime() - g_last_game_time
g_last_game_time = get_gametime()
if(g_curr_timelimit != 0.0)
server_cmd("mp_timelimit %f", get_cvar_float("mp_timelimit") - (g_curr_timelimit / 60.0))
}
}
sorry for my english
Re: Timeleft bug
This topic is from august 2009, and has been solved a long time ago.
Thanks anyway I guess
Thanks anyway I guess
Marksel- nD* Runner Member
- Number of posts : 3979
Age : 32
Birthday : 1992-02-01
Location : Holland
Job/hobbies : Owning you!
Registration date : 2009-08-19
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum