ich habe die patente 1 2 3 und die 6

This commit is contained in:
hydrant
2020-04-17 18:02:13 +02:00
parent d240cc9e50
commit b6b45d223f
2 changed files with 5 additions and 0 deletions

View File

@@ -226,6 +226,10 @@ export default function factionInteraction(globalData: IGlobalData) {
mp.events.add("showMedicTasks", (type, taskList) => { mp.events.add("showMedicTasks", (type, taskList) => {
mp.gui.chat.push("zeuch kam an");
mp.gui.chat.push("type = " + type.toString());
tasks = JSON.parse(taskList); tasks = JSON.parse(taskList);
if (sorting === 0) { if (sorting === 0) {
initTasks = tasks; initTasks = tasks;

View File

@@ -64,6 +64,7 @@ namespace ReallifeGamemode.Server.Factions.Medic
[RemoteEvent("loadMedicTasks")] [RemoteEvent("loadMedicTasks")]
public void LoadMedicTasks(Player player, int type) public void LoadMedicTasks(Player player, int type)
{ {
ChatService.Broadcast("sende das zeuch jetzt rüber amk");
switch (type) switch (type)
{ {
case 0: case 0: