From 8da64130515430dc86a46b3c2cb0dc64db84d42e Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:47:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Run=20formatter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/[maps]/hdigitalden/client.lua | 41 +++++++++---------- .../[maps]/hdigitalden/interiorproxies.meta | 12 +++--- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/server-data/resources/[maps]/hdigitalden/client.lua b/server-data/resources/[maps]/hdigitalden/client.lua index 3a7e95645..40d95d081 100644 --- a/server-data/resources/[maps]/hdigitalden/client.lua +++ b/server-data/resources/[maps]/hdigitalden/client.lua @@ -1,27 +1,26 @@ CreateThread(function() - while (true) do - ClearAreaOfPeds(387.1764, -828.0369, 29.3054, 46.9588, 5) - Wait(0) - end + while true do + ClearAreaOfPeds(387.1764, -828.0369, 29.3054, 46.9588, 5) + Wait(0) + end end) CreateThread(function() -- Examples - local ped_info - local ped_hash = 0x5B3BD90D -- Ped Hash - local ped_coords = { x = 383.762634, y = -826.681335, z = 28.300000, h = 260.0 } -- Ped Coords + local ped_info + local ped_hash = 0x5B3BD90D -- Ped Hash + local ped_coords = { x = 383.762634, y = -826.681335, z = 28.300000, h = 260.0 } -- Ped Coords - RequestModel(ped_hash) - while not HasModelLoaded(ped_hash) do - Wait(1) - end + RequestModel(ped_hash) + while not HasModelLoaded(ped_hash) do + Wait(1) + end - ped_info = CreatePed(1, ped_hash, ped_coords.x, ped_coords.y, ped_coords.z, ped_coords.h, false, true) - SetBlockingOfNonTemporaryEvents(ped_info, true) -- Don't Change - SetPedDiesWhenInjured(ped_info, false) -- Can Die? - SetPedCanPlayAmbientAnims(ped_info, true) -- Don't Change - SetPedCanRagdollFromPlayerImpact(ped_info, false) -- Ped Fall Down - SetEntityInvincible(ped_info, true) -- Ped Invincible - FreezeEntityPosition(ped_info, true) -- Don't Change - TaskStartScenarioInPlace(ped_info, "WORLD_HUMAN_COP_IDLES", 0, true); -- Ped Anim - -end) \ No newline at end of file + ped_info = CreatePed(1, ped_hash, ped_coords.x, ped_coords.y, ped_coords.z, ped_coords.h, false, true) + SetBlockingOfNonTemporaryEvents(ped_info, true) -- Don't Change + SetPedDiesWhenInjured(ped_info, false) -- Can Die? + SetPedCanPlayAmbientAnims(ped_info, true) -- Don't Change + SetPedCanRagdollFromPlayerImpact(ped_info, false) -- Ped Fall Down + SetEntityInvincible(ped_info, true) -- Ped Invincible + FreezeEntityPosition(ped_info, true) -- Don't Change + TaskStartScenarioInPlace(ped_info, "WORLD_HUMAN_COP_IDLES", 0, true) -- Ped Anim +end) diff --git a/server-data/resources/[maps]/hdigitalden/interiorproxies.meta b/server-data/resources/[maps]/hdigitalden/interiorproxies.meta index a5be91af3..9948a6c40 100644 --- a/server-data/resources/[maps]/hdigitalden/interiorproxies.meta +++ b/server-data/resources/[maps]/hdigitalden/interiorproxies.meta @@ -1,7 +1,9 @@ - - - digitalgen - - \ No newline at end of file + + + + digitalgen + + +