function onResourceStart() local sound = playSound3D("song.mp3", x, y, z, true) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
<meta> <info author="autor" description="opis" version="1.0" type="script" /> <script src="music_c.lua" type="client" /> <file src="song.mp3" /> </meta>
<script src="music_c.lua" type="client" />
<file src="song.mp3" />