Manually sell to a NPC
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Trigger to start selling to an NPC, as you would do after pressing E to sell in the default method
TriggerEvent("drugs_creator:sellToNPC", ped)
ped
ped (integer)
The target ped's handle
local closestPed = ESX.Game.GetClosestPed()
TriggerEvent("drugs_creator:sellToNPC", closestPed)