Added Faction Color to Player Blips for Trucker, Ballas and Grove.
This commit is contained in:
@@ -125,10 +125,38 @@ namespace ReallifeGamemode.Server.Gangwar
|
||||
this.takeOver(this.Owner);
|
||||
}
|
||||
timerCount += 1;
|
||||
if(timerCount >= 69)
|
||||
if(timerCount >= 60) //change to 900 before release
|
||||
{
|
||||
this.timer.Stop();
|
||||
this.timer = null;
|
||||
if(this.Def_Score > this.Att_Score)
|
||||
{
|
||||
this.takeOver(this.Owner);
|
||||
this.Att_Score = 0;
|
||||
foreach (Client gangwarPlayer in this.playerInGangwar)
|
||||
{
|
||||
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0);
|
||||
}
|
||||
}else if(this.Def_Score < this.Att_Score)
|
||||
{
|
||||
this.takeOver(this.Attacker);
|
||||
this.Def_Score = 0;
|
||||
foreach (Client gangwarPlayer in this.playerInGangwar)
|
||||
{
|
||||
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if(this.Def_Score == this.Att_Score)
|
||||
{
|
||||
this.takeOver(this.Attacker);
|
||||
this.Def_Score = 0;
|
||||
foreach (Client gangwarPlayer in this.playerInGangwar)
|
||||
{
|
||||
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, 0, 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user