will sehen was das macht
This commit is contained in:
@@ -66,13 +66,4 @@ export default function (globalData: IGlobalData): void {
|
|||||||
loginCam.setActive(false);
|
loginCam.setActive(false);
|
||||||
mp.game.cam.renderScriptCams(false, false, 0, true, false);
|
mp.game.cam.renderScriptCams(false, false, 0, true, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
mp.events.add('SetNametagColor',(faction: string) => {
|
|
||||||
|
|
||||||
mp.nametags.set({
|
|
||||||
color: [73, 137, 0, 255],
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
@@ -88,8 +88,8 @@ deathScreen();
|
|||||||
import Infobox from './Gui/infobox';
|
import Infobox from './Gui/infobox';
|
||||||
Infobox(globalData);
|
Infobox(globalData);
|
||||||
|
|
||||||
//import nametags from './Gui/nametags';
|
import nametags from './Gui/nametags';
|
||||||
//nametags();
|
nametags();
|
||||||
|
|
||||||
import playerList from './Gui/playerlist';
|
import playerList from './Gui/playerlist';
|
||||||
playerList(globalData);
|
playerList(globalData);
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ namespace ReallifeGamemode.Server.Events
|
|||||||
player.SetData("duty", false);
|
player.SetData("duty", false);
|
||||||
player.SetData("Adminduty", false);
|
player.SetData("Adminduty", false);
|
||||||
player.TriggerEvent("SERVER:SET_HANDMONEY", user.Handmoney, 0);
|
player.TriggerEvent("SERVER:SET_HANDMONEY", user.Handmoney, 0);
|
||||||
player.TriggerEvent("SetNametagColor");
|
|
||||||
Gangwar.Gangwar.loadPlayer(player);
|
Gangwar.Gangwar.loadPlayer(player);
|
||||||
if (user.FactionLeader)
|
if (user.FactionLeader)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user