Skip to content
Permalink
Browse files

Print message when you've free scanners left

  • Loading branch information...
Bara committed Jul 22, 2018
1 parent 29f8853 commit 5fc6e52392b7523935b6bd91c87efeca06602588
@@ -312,7 +312,11 @@ public Action TTT_OnBodyChecked(int client, int[] iRagdollC)
if (g_iCount[client] >= g_cFreeCount.IntValue)
{
ResetScanner(client);
return Plugin_Changed;
}

int iLeft = g_cFreeCount.IntValue - g_iCount[client];
CPrintToChat(client, "%s %T", g_sPluginTag, "Free DNA Scanner left", client, iLeft);
}

return Plugin_Changed;
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Chinese (Simplified) (chi)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Czech (cze)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:41 UTC
// Date: 2018-07-22 10:23:17 UTC
// Language: German (de)
//
// To view other translations for this plugin, please visit:
@@ -998,4 +998,9 @@
"de" "Um eine Tripmine zu platzieren, gib '/tripmine' im Chat ein."
}

"Free DNA Scanner left"
{
"de" "Du hast einen kostenlose DNA-Scanner benutzt! {1} Nutzung(en) verbleibend."
}

}
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:17 UTC
// Language: Spanish (es)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: French (fr)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Hebrew (he)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:43 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Hungarian (hu)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Italian (it)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:43 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Korean (ko)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:19 UTC
// Language: 1337speak (l0l)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Latvian (lv)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:43 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Dutch (nl)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:43 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Polish (pl)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Brazilian Portuguese (pt)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Portuguese (pt_p)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:19 UTC
// Language: Russian (ru)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Swedish (sv)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:19 UTC
// Language: Turkish (tr)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:44 UTC
// Date: 2018-07-22 10:23:19 UTC
// Language: English (en)
//
// To view other translations for this plugin, please visit:
@@ -1085,4 +1085,10 @@
"en" "For placing a tripmine, type '/tripmine' into the chat"
}

"Free DNA Scanner left"
{
"#format" "{1:d}"
"en" "You used an free dna scanner! {1} uses left."
}

}
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:42 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: ua (ua)
//
// To view other translations for this plugin, please visit:
@@ -1,5 +1,5 @@
// Exported from SourceMod Translator
// Date: 2018-07-17 16:47:43 UTC
// Date: 2018-07-22 10:23:18 UTC
// Language: Chinese (Traditional) (zho)
//
// To view other translations for this plugin, please visit:

0 comments on commit 5fc6e52

Please sign in to comment.
You can’t perform that action at this time.