Set a time for a ped appear

Hi all,

Hopefully someone can help me with this.
I wanted to add a ped and set an hour to appear so the players can interact with it between the time I set.

For example I set a Ped in X location and I want him to to be there between 01am to 9am and outside this timeline the ped it’s not there only when it is 01am to 9am.

I’ve been looking around but I can’t find something.

Btw I’m using QBCore.

Thanks all :wink: