Skip to content

Commit

Permalink
Update 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuraiDevCo authored Oct 11, 2024
1 parent 763c00a commit c6a4e5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ games { 'gta5' }

author 'HoboDevCo#3011'
description 'SDC | Object Placer Script'
version '1.0.1'
version '1.0.2'

shared_script {
'@ox_lib/init.lua',
Expand All @@ -19,4 +19,12 @@ client_scripts {
server_scripts {
'src/server/server.lua',
}

escrow_ignore {
"config/config.lua",
"config/lang.lua",
"src/client/client.lua",
"src/client/client_customize_me.lua",
"src/server/server.lua",
}
lua54 'yes'
6 changes: 3 additions & 3 deletions src/client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ else
local myObjs2 = {}
for i=1, #SDC.ObjJobs[playerjob].Objects do
if myGrade >= SDC.ObjJobs[playerjob].Objects[i].ReqGrade then
table.insert(myObjs, SDC.ObjJobs[playerjob].Objects[i])
table.insert(myObjs2, SDC.ObjJobs[playerjob].Objects[i])
end
end
myObjs = myObjs2
Expand Down Expand Up @@ -98,9 +98,9 @@ AddEventHandler("SDOP:StartPlacing", function()

obj.is = true
while obj.is do
local ped = PlayerPedId()
local pcoords = GetEntityCoords(ped)
if not obj.deleting then
local ped = PlayerPedId()
local pcoords = GetEntityCoords(ped)
local canPlace = false

local start,fin = getCoordsInFrontOfCam(0,5000)
Expand Down

0 comments on commit c6a4e5b

Please sign in to comment.