Skip to content

Commit

Permalink
Update billionaire_services.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
xesdoog committed Apr 30, 2024
1 parent fde87ec commit 6e8f505
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions billionaire_services.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ billionaire_services:add_imgui(function()
if ImGui.Button("Call Your Private Jet") then
jetDismissed = false
script.run_in_fiber(function(privateJet)
-- local myGroup = PLAYER.GET_PLAYER_GROUP(self.get_ped())
local myGroup = PED.GET_PED_GROUP_INDEX(self.get_ped())
if not PED.DOES_GROUP_EXIST(myGroup) then
myGroup = PED.CREATE_GROUP(0)
Expand Down Expand Up @@ -640,7 +639,6 @@ billionaire_services:add_imgui(function()
if PED.IS_PED_SITTING_IN_ANY_VEHICLE(self.get_ped()) then
distMpl = 7
end
-- local myGroup = PLAYER.GET_PLAYER_GROUP(self.get_ped())
local myGroup = PED.GET_PED_GROUP_INDEX(self.get_ped())
if not PED.DOES_GROUP_EXIST(myGroup) then
myGroup = PED.CREATE_GROUP(0)
Expand Down Expand Up @@ -1641,7 +1639,7 @@ billionaire_services:add_imgui(function()
end
--------------------debug section------------------------------------------------------------------------------
ImGui.Spacing();ImGui.Dummy(270, 1);ImGui.SameLine()
ImGui.TextDisabled("v0.4.1")
ImGui.TextDisabled("v0.4.2")
if ImGui.IsItemHovered() and ImGui.IsItemClicked(0) then
dbgclc = dbgclc + 1
end
Expand Down Expand Up @@ -2301,7 +2299,6 @@ script.register_looped("misc", function(misc)
end
if spawned_bodyguards[1] ~= nil then
if not dismissedGuards then
-- local myGroup = PLAYER.GET_PLAYER_GROUP(self.get_ped())
local myGroup = PED.GET_PED_GROUP_INDEX(self.get_ped())
if not PED.DOES_GROUP_EXIST(myGroup) then
myGroup = PED.CREATE_GROUP(0)
Expand Down Expand Up @@ -2451,7 +2448,6 @@ script.register_looped("misc", function(misc)
end
if spawned_escorts[1] ~= nil then
if not dismissed and not flying then
-- local myGroup = PLAYER.GET_PLAYER_GROUP(self.get_ped())
local myGroup = PED.GET_PED_GROUP_INDEX(self.get_ped())
if not PED.DOES_GROUP_EXIST(myGroup) then
myGroup = PED.CREATE_GROUP(0)
Expand Down

0 comments on commit 6e8f505

Please sign in to comment.