From 068dfd776845c59d7083e856516028ef7985dee5 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 2 May 2022 15:31:19 -0500 Subject: [PATCH] Fix health cmd --- scripts/server/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/server/client.js b/scripts/server/client.js index 99c62c28..9cd0dd8f 100644 --- a/scripts/server/client.js +++ b/scripts/server/client.js @@ -868,10 +868,9 @@ function sendAllFuelStationBlips(client) { // =========================================================================== function sendPlayerSetHealth(client, health) { - sendNetworkEventToPlayer("vrr.health", client, health); + sendNetworkEventToPlayer("vrr.health", client, toInteger(health)); } - // =========================================================================== function sendPlayerSetArmour(client, armour) {