Best way of controlling far away peds with OneSync Infinity

Hello, I would like some advice on controlling peds spawned far away and don’t have an owner at first. Like giving ped different tasks that are not available on server side.

I was about to open the same discussion, im trying to get the control of entity with:

NetworkRequestControlOfEntity(entity)

repeat Wait(5) until NetworkHasControlOfEntity(entity)

but i dont think this gonna work :frowning: