Skip to content

Commit

Permalink
Merge pull request #38 from zRxnx/main
Browse files Browse the repository at this point in the history
fix(client/main.lua)
  • Loading branch information
Gellipapa authored Jan 18, 2024
2 parents c3ecfaa + 44a9fa5 commit ef3b5ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ function OpenPoliceActionsMenu()
local objectCoords = (coords + forward * 1.0)

ESX.Game.SpawnObject(data2.current.model, objectCoords, function(obj)
Wait(100)
SetEntityHeading(obj, GetEntityHeading(playerPed))
PlaceObjectOnGroundProperly(obj)
end)
Expand Down

0 comments on commit ef3b5ff

Please sign in to comment.