To get all the objects that exist on the client use : GetGamePool - Natives @ Cfx.re Docs.
In Lua :
local t = GetGamePool('CObject') -- Table containing every objects handle