@name Radio
@persist [E O]:entity
@model models/props/cs_office/radio.mdl
if(first())
{
    E = entity()
    O = owner()
    E:setPos(E:pos()+vec(0,0,3))
    E:setAng((O:pos()-E:pos()):toAngle():setPitch(0))
    E:propFreeze(0)
    
    runOnChat(1)
    
    soundPlay("snd",40,"Nico Nico Dougo Get Down.mp3")
    timer("r",40010)
}

if(clk("r"))
{
    stoptimer("r")
    timer("r",40010)
    soundStop("snd")
    soundPlay("snd",40,"Nico Nico Dougo Get Down.mp3")
}
