diff --git a/client/main.lua b/client/main.lua index d7409c27..97148191 100644 --- a/client/main.lua +++ b/client/main.lua @@ -484,7 +484,7 @@ Citizen.CreateThread(function() local ped = GetRandomPed() - if DoesEntityExist(ped) IsPedHuman(ped) and IsPedWalking(ped) and not IsPedAPlayer(ped) then + if DoesEntityExist(ped) and IsPedHuman(ped) and IsPedWalking(ped) and not IsPedAPlayer(ped) then CurrentCustomer = ped end