GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Radio Commands for Deathmatch Mode

A Config Script for CS2D

64 2 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
function array(m, h)
     local d = {}
     for a = 1, m do
          d[a] = h
     end
return d
end

secs = array(32,0)
cooldown = 3 --to prevent command spam

radio = {}

--[[            Z Radio            ]]--
radio[6] = {"radio/coverme.ogg","Cover me!"}
radio[32] = {"radio/takepoint.ogg", "You take the point"}
radio[23] = {"radio/position.ogg","Hold this position!"}
radio[24] = {"radio/regroup.ogg","Regroup team!"}
radio[13] = {"radio/followme.ogg","Follow me!"}
radio[11] = {"radio/fireassis.ogg","Taking fire, need assistance!"}

--[[            X Radio            ]]--
radio[15] = {"radio/go.ogg","Go go go!"}
radio[10] = {"radio/fallback.ogg","Team fall back"}
radio[30] = {"radio/sticktog.ogg","Stick together team"}
radio[14] = {"radio/getinpos.ogg","Get in position and wait for my go!"}
radio[31] = {"radio/stormfront.ogg","Storm in the front!"}
radio[25] = {"radio/reportin.ogg","Report in, team!"}

--[[            C Radio            ]]--
radio[0] = {"radio/roger.ogg","Roger that!"}
radio[28] = {"radio/affirm.ogg","Affirmative!"}
radio[9] = {"radio/enemys.ogg","Enemy spotted!"}
radio[1] = {"radio/backup.ogg","Need backup!"}
radio[5] = {"radio/clear.ogg","Sector clear!"}
radio[17] = {"radio/inpos.ogg","I'm in position!"}
radio[26] = {"radio/reportingin.ogg","Reporting in!"}
radio[2] = {"radio/blow.ogg","Get out of there she's gonna blow!"}
radio[22] = {"radio/negative.ogg","Negative!"}
radio[8] = {"radio/enemydown.ogg","Enemy down!"}

addhook("radio","_radio")
function _radio(id,m)
     --msg(m)
     if secs[id] == 0 then
          parse("sv_sound "..radio[m][1].."")
          secs[id]= cooldown
          if player(id,"team") == 1 then
          msg("\169255025000"..player(id,"name").." \169255220000(Radio): "..radio[m][2].."")
          elseif player(id,"team") == 2 then
          msg("\169050150255"..player(id,"name").." \169255220000(Radio): "..radio[m][2].."")
          end
     end
end

addhook("second","second_hook")
function second_hook()
     for id = 1, 32 do
          if secs[id] ~= 0 then
               secs[id] = secs[id] - 1
               --msg(secs[id])
          end
     end
end

Enabling Radio Commands for Deathmatch Mode

This script enables the radio commands for deathmatch mode.

∗ Includes command use countdown to prevent spam.
∗ Radio command messages in chat as usual for CT an TT.
Sign up to access this!
  • BcY07 avatar
    BcY07 Joined 8y ago
    CS2D Manager
    I'm away.
    428 points Ranked 47677th
    9 medals 2 rare
    • 6 years a member Medal icon
    • Achieved Game Manager clearance Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    access_time 11d
    I did it because it can be useful for happytown and roleplay servers.
    Berdan Can avatar
    Mantra
    Berdan Can
    URL to post:
  • FotisMp avatar
    FotisMp Joined 8y ago
    Offline
    107 points Ranked 68831st
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    access_time 11d
    There are a lot of things you can't do in CS2D and there is no point using radio in deathmatch. Of course radio is disabled in dm because it's a "free for all" gamemode.

    Still bad and useless.
    Bananite
    URL to post:
  • BcY07 avatar
    BcY07 Joined 8y ago
    CS2D Manager
    I'm away.
    428 points Ranked 47677th
    9 medals 2 rare
    • 6 years a member Medal icon
    • Achieved Game Manager clearance Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    access_time 13d
    Well, you may not know but you can't use radio commands in deathmatch mode, it's totally disabled as default. this one is the only way to be able to use it.
    Berdan Can avatar
    Mantra
    Berdan Can
    URL to post:
  • FotisMp avatar
    FotisMp Joined 8y ago
    Offline
    107 points Ranked 68831st
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    access_time 13d
    bad and useless.
    Bananite
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Coder
BcY
Coder

Submitter

BcY07 avatar
BcY07 Joined 8y ago
CS2D Manager
I'm away.
428 points Ranked 47677th
9 medals 2 rare
  • 6 years a member Medal icon
  • Achieved Game Manager clearance Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon
BcY07
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 71
  • 4
  • 15d

More from Submitter

More Lua Scripts Scripts