20.12.2010, 15:14
Because IsPlayerInAnyVehicle doesn't return a value(like number) it just returns: true of false, so you can't actually compare it with something.
You will need GetPlayerVehicleID and then compare it to some value, like Cart ID (571).
You will need GetPlayerVehicleID and then compare it to some value, like Cart ID (571).