Skip to content

Commit

Permalink
Merge branch 'master' into feature_freeroam_security_patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dutchman101 committed Jul 15, 2024
2 parents 21abca9 + 357fdf8 commit ce1b2f0
Show file tree
Hide file tree
Showing 12 changed files with 1,042 additions and 502 deletions.
353 changes: 0 additions & 353 deletions [gameplay]/internetradio/client.lua

This file was deleted.

24 changes: 24 additions & 0 deletions [gameplay]/internetradio/config/CRadioConfig.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-- #######################################
-- ## Project: Internet radio ##
-- ## Authors: MTA contributors ##
-- ## Version: 1.0 ##
-- #######################################

RADIO_TRACK_SCALE = 1
RADIO_TRACK_FONT = "default-bold"
RADIO_TRACK_COLOR = tocolor(150, 50, 150, 255)
RADIO_TRACK_BACKGROUND_COLOR = tocolor(0, 0, 0, 255)

RADIO_TOGGLE_KEY = "F3"
RADIO_SHOW_ON_START = false
RADIO_COMMANDS = {"sound", "music", "musica", "song", "radio", "speaker"}
RADIO_SETTINGS_PATH = "settings.json"

RADIO_SETTINGS_TEMPLATE = {
["allowRemoteSpeakers"] = {
defaultsTo = true,
dataType = {
["boolean"] = true,
},
},
}
7 changes: 7 additions & 0 deletions [gameplay]/internetradio/config/SRadioConfig.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- #######################################
-- ## Project: Internet radio ##
-- ## Authors: MTA contributors ##
-- ## Version: 1.0 ##
-- #######################################

RADIO_BOX_MODEL = 2229
Loading

0 comments on commit ce1b2f0

Please sign in to comment.