[RESOLVED] No recolt in a vehicle

Hello,

I would like to know how I could do not to have it harvested in vehicle.
Someone can make me function with a message eg you can not harvest in a vehicle.

Regards,
Kiirona

easy, add this :

IsPedInAnyVehicle(LocalPed(), true) == false

to you condition in your harvest function