I have a problem with this,because sometimes Round_End don't support the roundtime.
When T's doesn't plant the bomb,CT's must win that round by time,and that is the correct way to work.
But sometimes this makes a bug in my plugin,I don't know why.
Code...
PHP Code:
new RoundsH = get_pcvar_num(RoundsHalf)
if(ScoreCT + ScoreT >= RoundsH && (!Half))
{
Half = true
FragsHalf = Best_Fraggers()
BestFragger1 = get_user_frags(FragsHalf)
if(get_pcvar_num(Swaper))
cmdSwap()
TotalCT = ScoreT
TotalT = ScoreCT
ScoreCT = 0
ScoreT = 0
set_pcvar_num(pRestart,1)
}
Sorry for my english ^_^