Thread: SM Translator
View Single Post
Author Message
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 03-29-2023 , 15:47   SM Translator
Reply With Quote #1

ConVar

sm_translator_display 0 = Console, 1 = Chat, default is 1

Requirements

REST in Pawn 1.3

Available Languages

ar // Arabic
de // German
en // English
es // Spanish
fr // French
it // Italian
ja // Japanese
ko // Korean
nl // Dutch
pl // Polish
pt // Portuguese
ru // Russian
sv // Swedish
bg // Bulgarian
tl // Tagalog
tr // Turkish


Command Usage - Mix two lang codes to get desired translation, example below.

Input: enes hello world
Output: >> Hola mundo

Quote:
Originally Posted by Changelog
Added a ConVar to switch between console/chat ~ 03/29/23
Quick installation guide:

Place sm_translator.smx into addons/sourcemod/plugins/


load plugin. : )
Attached Files
File Type: sp Get Plugin or Get Source (sm_translator.sp - 95 views - 3.7 KB)
File Type: smx sm_translator.smx (4.9 KB, 55 views)

Last edited by foxhound27; 04-01-2023 at 21:40. Reason: Update
foxhound27 is offline