summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-21 11:29:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-21 11:29:45 +0300
commite9888028a7356af62133a7e6cb8f6c5ea621de65 (patch)
tree97f6564c9b96703f8ebf8ae16d6f96330ddde408 /src/map/script.c
parenta2db08ca3b8fa2392ef5d88d66303b64d6a41ec4 (diff)
downloadplugin-e9888028a7356af62133a7e6cb8f6c5ea621de65.tar.gz
plugin-e9888028a7356af62133a7e6cb8f6c5ea621de65.tar.bz2
plugin-e9888028a7356af62133a7e6cb8f6c5ea621de65.tar.xz
plugin-e9888028a7356af62133a7e6cb8f6c5ea621de65.zip
Impliment lg script function.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 7c53e8e..b1e31f2 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -31,6 +31,12 @@ BUILDIN(l)
return true;
}
+BUILDIN(lg)
+{
+ format_sub(st, 2);
+ return true;
+}
+
BUILDIN(getClientVersion)
{
getDataReturn(0);