Hi,
I have made a script that plays a sound using ULX playsound when 2 players are left alive. However, it does not play the sound. There are no LUA errors, everything is where its supposed to be. I just don't know whats wrong. Anybody out there that can help me?
Here is the script:
function checkAlive(ply)
if ply:Alive(2) then //Returns Boolean
duel()
end
function duel()
RunConsoleCommand( "ulx", "playsound", "1v1.mp3" )
end
end
Thanks guys.