local function PlaySound( ) if GetRoundState() == ROUND_ACTIVE then BroadcastLua('surface.PlaySound("your/sound.mp3")') endendhook.Add("PlayerDisconnected", "GuyLeft", PlaySound)
resource.AddFile("sound/ragequit.mp3")local function PlaySound( ) if GetRoundState() == ROUND_ACTIVE then BroadcastLua('surface.PlaySound("ragequit.mp3")') endendhook.Add("PlayerDisconnected", "GuyLeft", PlaySound)
resource.AddFile("sound/ragequit.mp3")local function PlaySound( ) if GetRoundState() == ROUND_ACTIVE then BroadcastLua('surface.PlaySound("ragequit.mp3")') ChatPrint(Nick().." is a pussy.") endendhook.Add("PlayerDisconnected", "GuyLeft", PlaySound)