Mine
public text v1 · immutablefunction radiothink()
local allplayers=player.GetAll()
for i=1,table.getn(allplayers) do
entsx=ents.FindInSphere(allplayers[i]:GetPos(),300)
for i=1,table.getn(entsx) do
if entsx[i]:GetClass()=="ms_radio" then
allplayers[i]SetNetworkedBool("radiorange",true)
// need to stop the false being set somehow HERE
end
end
allplayers[i]SetNetworkedBool("radiorange",false)
end
end
hook.Add("Think","rthnk",radiothink)