summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-01 23:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-01 23:33:37 +0300
commit6091f2d963bdff2e62176d9a668943ee02f57043 (patch)
treef8b783ee6d05ee572b3a956f5e2d3cbf6d7fad12 /src/map/init.c
parent3242c560742518770c6ea97db03bf89d314cb963 (diff)
downloadevol-hercules-6091f2d963bdff2e62176d9a668943ee02f57043.tar.gz
evol-hercules-6091f2d963bdff2e62176d9a668943ee02f57043.tar.bz2
evol-hercules-6091f2d963bdff2e62176d9a668943ee02f57043.tar.xz
evol-hercules-6091f2d963bdff2e62176d9a668943ee02f57043.zip
add script function for check is player dead or not.
New script function: ispcdead()
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 1685a82..f53de01 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -94,7 +94,7 @@ HPExport void plugin_init (void)
addScriptCommand("setnpcdialogtitle", "s", setNpcDialogTitle);
addScriptCommand("getmapname", "", getMapName);
addScriptCommand("unequipbyid", "i", unequipById);
-
+ addScriptCommand("ispcdead", "", isPcDead);
do_init_langs();