> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable default selling method for NPCs

> Disable the default 'Press E to sell drugs' prompt above NPCs.

Trigger to disable the prompt above NPCs, `Press E to sell drugs`.

<Note>
  If you disable the prompt, you have to manually trigger the `drugs_creator:sellToNPC` event to sell to NPCs.
</Note>

```lua Event theme={null}
TriggerEvent("drugs_creator:disableDefaultSellingMethodNPC")
```

## Example

```lua theme={null}
-- Disables the prompt
RegisterNetEvent("drugs_creator:framework:ready", function()
    TriggerEvent("drugs_creator:disableDefaultSellingMethodNPC")
end)

-- Manually sell to an NPC (example for targeting scripts)
Citizen.CreateThread(function()
    local closestPed = ESX.Game.GetClosestPed()

    TriggerEvent("drugs_creator:sellToNPC", closestPed)
end)
```


## Related topics

- [NPC Selling](/drugs-creator/client/npc-selling/index.md)
- [Manually sell to a NPC](/drugs-creator/client/npc-selling/manually-sell-to-a-npc.md)
- [Sellings](/drugs-creator/server/sellings/index.md)
- [Client](/drugs-creator/client/index.md)
- [Sold to NPC](/drugs-creator/server/sellings/sold-to-npc.md)
