Skip to content

Commit

Permalink
tweak(client): use faster ped native
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaccosf committed Aug 18, 2021
1 parent f90bc56 commit 49fe1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Citizen.CreateThread(function()
while true do

Citizen.Wait(0)
local ped = GetPlayerPed(-1)
local ped = PlayerPedId()
local vehicle = GetVehiclePedIsIn(ped, false)
local vehicleClass = GetVehicleClass(vehicle)
local seat = GetPedInVehicleSeat(vehicle, -1)
Expand Down

0 comments on commit 49fe1ed

Please sign in to comment.