LUADOC - Farming Simulator 22

Script v1_7_1_0

Engine v1_7_1_0

Foundation Reference

stopSample

Description
Stop sample object
Definition
stopSample(integer sampleId, float delay, float fadeTime)
Arguments
integersampleIdsampleId
floatdelaydelay until to stop playing [ms]
floatfadeTimetime to fade out the sample [ms]