Need help with peds please

If you are feeling up to it, you could apply this basic concept:

But instead of checking if they have true/false Boolean for a command, you could list the ped model, and set it in the whitelist return event; you might have to swap out the onClientResourceStart for onClientMapStart or playerSpawned though.