aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2022-07-09 16:24:17 +0100
committerGitHub <noreply@github.com>2022-07-09 17:24:17 +0200
commit151263b04067e2b724a4f07ea2e30629df5b7e70 (patch)
tree1e72b4194a180d433dba75c5604e4c8616ed74be /Northstar.CustomServers
parent64515b881fa1d42ea06e8d26314585ea18eb14e3 (diff)
downloadNorthstarMods-151263b04067e2b724a4f07ea2e30629df5b7e70.tar.gz
NorthstarMods-151263b04067e2b724a4f07ea2e30629df5b7e70.zip
highlight friendly players through walls (#413)
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut2
1 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut
index ec765763..c9ae57b4 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut
@@ -98,6 +98,8 @@ void function FD_PlayerRespawnCallback(entity player)
{
if(player in file.players)
file.players[player].lastRespawn = Time()
+
+ Highlight_SetFriendlyHighlight( player, "sp_friendly_hero" )
}
void function FD_TeamReserveDepositOrWithdrawCallback(entity player, string action,int amount)