If you want to disable sale to certain ped, like those you have spawned via another script, you will have to add the sale StateBag to it.
Entity(YOUR PED ENTITY).state:set("sellDrugs", true, true)
Last updated 2 years ago