Add Debug for Right_Arrow

This commit is contained in:
VegaZ
2019-03-04 21:45:02 +01:00
parent 89e8e84d95
commit bd85d0215b
2 changed files with 4 additions and 2 deletions

View File

@@ -62,10 +62,12 @@ namespace reallife_gamemode.Server.Events
{ {
if (!player.IsLoggedIn()) return; if (!player.IsLoggedIn()) return;
User user = player.GetUser(); User user = player.GetUser();
player.SendChatMessage("RIGHT_ARROW TRIGGER");
switch (user.FactionId) switch (user.FactionId)
{ {
//LSFD //LSFD
case 2: case 2:
player.SendChatMessage("RIGHT_ARROW TRIGGER - FACTION:~g~" + user.FactionId);
player.TriggerEvent("showFactionInteraction", user.FactionId, user.GetFaction().Name, user.FactionLeader, Medic.ReviveTasks.Count.ToString(), Medic.HealTasks.Count.ToString(), Medic.FireTasks.Count.ToString()); player.TriggerEvent("showFactionInteraction", user.FactionId, user.GetFaction().Name, user.FactionLeader, Medic.ReviveTasks.Count.ToString(), Medic.HealTasks.Count.ToString(), Medic.FireTasks.Count.ToString());
break; break;
} }

View File

@@ -2,8 +2,8 @@
"profiles": { "profiles": {
"ReallifeGamemode.Server": { "ReallifeGamemode.Server": {
"commandName": "Executable", "commandName": "Executable",
"executablePath": "S:\\RAGEMP\\server-files\\server.exe", "executablePath": "C:\\Users\\manue\\Desktop\\RageMP\\server-files\\server.exe",
"workingDirectory": "S:\\RAGEMP\\server-files\\" "workingDirectory": "C:\\Users\\manue\\Desktop\\RageMP\\server-files"
} }
} }
} }