-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
675e6c5
commit 8da6413
Showing
2 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
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) |
12 changes: 7 additions & 5 deletions
12
server-data/resources/[maps]/hdigitalden/interiorproxies.meta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<SInteriorOrderData> | ||
<startFrom value="482" /> | ||
<proxies> | ||
<Item>digitalgen</Item> | ||
</proxies> | ||
</SInteriorOrderData> | ||
<startFrom value="482" /> | ||
<proxies> | ||
<Item> | ||
digitalgen | ||
</Item> | ||
</proxies> | ||
</SInteriorOrderData> |