change Gangwar-time & change KH-time & edit Indroduction & change help & delete Ahelp
This commit is contained in:
@@ -144,7 +144,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
|
||||
#region ahelp
|
||||
|
||||
[Command("ahelp", "~m~Benutzung: ~s~/ahelp")]
|
||||
/* [Command("ahelp", "~m~Benutzung: ~s~/ahelp")]
|
||||
public void CmdAdminHelp(Player player)
|
||||
{
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.MAPPING) ?? true)
|
||||
@@ -170,7 +170,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
#endregion ahelp
|
||||
|
||||
#region Mapping / Entwicklung
|
||||
|
||||
@@ -79,7 +79,12 @@ namespace ReallifeGamemode.Server.Commands
|
||||
[Command("help", "~m~Benutzung: ~s~/help")]
|
||||
public void CmdHelp(Player player)
|
||||
{
|
||||
player.TriggerEvent("showUserhelp");
|
||||
player.SendChatMessage("M - Interaktionsmenü öffnen und schließen");
|
||||
player.SendChatMessage("X - Fahrzeug auf -/ abschließen sowie im Fahrzeuginteraktionsmenü öffnen");
|
||||
player.SendChatMessage("N - Fahrzeugmotor Starten");
|
||||
player.SendChatMessage("O - Onlineliste öffnen / schließen");
|
||||
player.SendChatMessage("I - Inventar öffnen / schließen");
|
||||
player.SendChatMessage("f4 - Mikrofon an/aus schalten");
|
||||
}
|
||||
|
||||
[Command("hup")]
|
||||
|
||||
@@ -118,11 +118,9 @@ namespace ReallifeGamemode.Server.Gangwar
|
||||
{
|
||||
var t = Task.Factory.StartNew(() =>
|
||||
{
|
||||
ChatService.Broadcast("DEBUG: reloadGangTurfs(...)");
|
||||
Task.Delay(10000).Wait();
|
||||
Gangwar.loadTurfs();
|
||||
Gangwar.loadTurfs_ToAllPlayers();
|
||||
ChatService.Broadcast("DEBUG: reloadGangTurfs()...10 Sekunden um");
|
||||
});
|
||||
t.Wait();
|
||||
|
||||
@@ -167,7 +165,7 @@ namespace ReallifeGamemode.Server.Gangwar
|
||||
|
||||
foreach (Player gangwarPlayer in this.playerInGangwar)
|
||||
{
|
||||
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score, 40 - timerCount);
|
||||
gangwarPlayer.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score, 900 - timerCount);
|
||||
}
|
||||
/*if (this.Att_Score >= 200)
|
||||
{
|
||||
@@ -178,7 +176,7 @@ namespace ReallifeGamemode.Server.Gangwar
|
||||
this.takeOver(this.Owner);
|
||||
}*/
|
||||
timerCount += 1;
|
||||
if (timerCount >= 40) //change to 900 (seconds) before release for testing reasons change to whatever you like
|
||||
if (timerCount >= 900) //change to 900 (seconds) before release for testing reasons change to whatever you like
|
||||
{
|
||||
if (this.Att_Score > this.Def_Score)
|
||||
{
|
||||
|
||||
@@ -137,7 +137,7 @@ public class AttachmentSyncExample : Script
|
||||
player.AddAttachment(Base36Extensions.FromBase36(hash), true);
|
||||
}
|
||||
|
||||
[Command("xdd")]
|
||||
/* [Command("xdd")]
|
||||
public void attachment(Player player)
|
||||
{
|
||||
Vehicle veh = player.Vehicle;
|
||||
@@ -152,6 +152,7 @@ public class AttachmentSyncExample : Script
|
||||
veh.ClearAttachments();
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user