Skip to content

Commit

Permalink
Add KOS to Radio plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed May 6, 2018
1 parent ff3884c commit cae103c
Show file tree
Hide file tree
Showing 23 changed files with 58 additions and 21 deletions.
1 change: 1 addition & 0 deletions addons/sourcemod/configs/ttt/radio.ini
Expand Up @@ -11,6 +11,7 @@
"imwith" "Im With"
"suspect" "Suspect"
"traitor" "Traitor"
"kos" "KOS"
"innocent" "Innocent"
"see" "See"
}
Expand Down
8 changes: 8 additions & 0 deletions addons/sourcemod/scripting/ttt/ttt_radio.sp
Expand Up @@ -257,6 +257,14 @@ public Action Command_Radio(int client, int args)
CPrintToChat(i, "%s {%s}%N{default}: %T", g_sPluginTag, sColor, client, "TTT Radio: Traitor", i, iTarget);
}
}

if (StrEqual(sMessage, "kos", false))
{
LoopValidClients(i)
{
CPrintToChat(i, "%s {%s}%N{default}: %T", g_sPluginTag, sColor, client, "TTT Radio: KOS", i, iTarget);
}
}

if (StrEqual(sMessage, "innocent", false))
{
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/chi/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: Chinese (Simplified) (chi)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/cze/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: Czech (cze)
//
// To view other translations for this plugin, please visit:
Expand Down
22 changes: 21 additions & 1 deletion addons/sourcemod/translations/de/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:15 UTC
// Date: 2018-05-06 10:05:12 UTC
// Language: German (de)
//
// To view other translations for this plugin, please visit:
Expand Down Expand Up @@ -923,4 +923,24 @@
"de" "{1} nicht als gültiges Shop Item gefunden."
}

"TTT Radio: KOS"
{
"de" "KOS {1}!"
}

"Found Innocent Silent"
{
"de" "{lightgreen}Du hast heimlich die Leiche von {green}{1} {lightgreen}gefunden. {lightgreen}Er war ein {green}INNOCENT!"
}

"Found Detective Silent"
{
"de" "{lightgreen}Du hast heimlich die Leiche von {darkblue}{1} {lightgreen}gefunden. {lightgreen}Er war ein {darkblue}DETECTIVE!"
}

"Found Traitor Silent"
{
"de" "{lightgreen}Du hast heimlich die Leiche von {darkred}{1} {lightgreen}gefunden. {lightgreen}Er war ein {darkred}TRAITOR!"
}

}
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/es/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: Spanish (es)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/fr/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: French (fr)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/he/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Hebrew (he)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/hu/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: Hungarian (hu)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/it/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Italian (it)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/ko/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: Korean (ko)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/l0l/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: 1337speak (l0l)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/lv/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: Latvian (lv)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/nl/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: Dutch (nl)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/pl/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: Polish (pl)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/pt/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Brazilian Portuguese (pt)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/pt_p/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: Portuguese (pt_p)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/ru/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:18 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Russian (ru)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/sv/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Swedish (sv)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/tr/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:15 UTC
// Language: Turkish (tr)
//
// To view other translations for this plugin, please visit:
Expand Down
10 changes: 9 additions & 1 deletion addons/sourcemod/translations/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:18 UTC
// Date: 2018-05-06 10:05:16 UTC
// Language: English (en)
//
// To view other translations for this plugin, please visit:
Expand Down Expand Up @@ -1004,6 +1004,13 @@
"#format" "{1:s}"
"en" "Can't find '{1}' as valid shop item"
}

"TTT Radio: KOS"
{
"#format" "{1:N}"
"en" "KOS {1}!"
}

"Found Innocent Silent"
{
"#format" "{1:s}"
Expand All @@ -1021,4 +1028,5 @@
"#format" "{1:s}"
"en" "{lightgreen}You silently found the body of {darkred}{1}. {lightgreen}It was a {darkred}Traitor!"
}

}
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/ua/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:16 UTC
// Date: 2018-05-06 10:05:13 UTC
// Language: ua (ua)
//
// To view other translations for this plugin, please visit:
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/translations/zho/ttt.phrases.txt
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-05-02 14:17:17 UTC
// Date: 2018-05-06 10:05:14 UTC
// Language: Chinese (Traditional) (zho)
//
// To view other translations for this plugin, please visit:
Expand Down

0 comments on commit cae103c

Please sign in to comment.