Server
function stfu (player, command)
if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then
outputChatBox( "Sounds StartedBy "..getPlayerName(player).." :#FF8000 Shut The **** UP!", root, 255, 255, 255, true )
triggerClientEvent("stfu", root)
end
addCommandHandler("stfu", stfu)
Client
addEvent( "stfu", true )
addEventHandler( "stfu", root, function()
local sound = playSound("sounds/stfu.mp3")
end )
When I do the command the music doesn't start
Anyone can help me pls ?
p.s Admin Sounds