Exports

Client

hasDrugs()

Returns true or false if the player has drugs in his inventory

local playerHasDrugs = exports['cf-cornerSell']:hasDrugs()

hasStolenGoods()

Returns true or false if the player has stolen goods in his inventory

local playerHasDrugs = exports['cf-cornerSell']:hasStolenGoods()

isDrugSelling()

Returns true or false if the player is selling drugs or stolen goods standing

local playerIsSellingDrugs = exports['cf-cornerSell']:isCornerSelling()

isVehicleSelling()

Returns true or false if the player is selling drugs or stolen goods with a vehicle

local playerIsSellingDrugs = exports['cf-cornerSell']:isVehicleSelling()

disable()

Disable corner selling

enable()

Enable corner selling

Last updated