Skip to content

Commit

Permalink
fix(client): Disable networked peds for shops
Browse files Browse the repository at this point in the history
  • Loading branch information
TheiLLeniumStudios committed May 23, 2022
1 parent e98eb3f commit 894a375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ end
local function CreatePedAtCoords(pedModel, coords, scenario)
pedModel = type(pedModel) == "string" and GetHashKey(pedModel) or pedModel
EnsurePedModel(pedModel)
local ped = CreatePed(0, pedModel, coords.x, coords.y, coords.z, coords.w, true, false)
local ped = CreatePed(0, pedModel, coords.x, coords.y, coords.z, coords.w, false, false)
TaskStartScenarioInPlace(ped, scenario, true)
FreezeEntityPosition(ped, true)
SetEntityVisible(ped, true)
Expand Down

0 comments on commit 894a375

Please sign in to comment.