[RESOLVED] No recolt in a vehicle


#1

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


#2

easy, add this :

IsPedInAnyVehicle(LocalPed(), true) == false

to you condition in your harvest function


#3

Nice men good job :slight_smile: