anufis_ok Posted June 6, 2018 Share Posted June 6, 2018 <meta> <info author="Yolo" version="1.0.0" name="Coin" /> <script src="kill.lua" type="server" /> <script src="sounds/kill.mp3" /> </meta> function wasted (killer, weapon, bodypart) local sound = playSound("sounds/kill.mp3") setSoundVolume(sound, 0.5) end addEventHandler("onClientPlayerWasted", localPlayer, wasted) Link to comment
K1parik Posted June 6, 2018 Share Posted June 6, 2018 <script src="kill.lua" type="client" /> Link to comment
anufis_ok Posted June 7, 2018 Author Share Posted June 7, 2018 Я пробывал не помогло. Звук не проигруеться Link to comment
Other Languages Moderators Disinterpreter Posted June 7, 2018 Other Languages Moderators Share Posted June 7, 2018 Что пишет дебаг? Link to comment
JeViCo Posted August 14, 2018 Share Posted August 14, 2018 (edited) Поменяй это <script src="sounds/kill.mp3" /> На это <file src="sounds/kill.mp3" /> И сделай еще как @K1parik сказал, тогда всё заработает Edited August 14, 2018 by JeViCo Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now