summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-23 23:17:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-24 00:20:47 +0300
commit6f48aa3f3fb2019f60f0e469147270d96ad74794 (patch)
tree8fb56cb327b8235adcd5c254264476d5546f2c96 /npc
parente4d0106384d255f3c5258db624b0eea8c1775cd0 (diff)
downloadclientdata-6f48aa3f3fb2019f60f0e469147270d96ad74794.tar.gz
clientdata-6f48aa3f3fb2019f60f0e469147270d96ad74794.tar.bz2
clientdata-6f48aa3f3fb2019f60f0e469147270d96ad74794.tar.xz
clientdata-6f48aa3f3fb2019f60f0e469147270d96ad74794.zip
Show warning to player at game start if he using very old client.
Diffstat (limited to 'npc')
-rw-r--r--npc/000-0/sailors.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/000-0/sailors.txt b/npc/000-0/sailors.txt
index e62ddd81..313552de 100644
--- a/npc/000-0/sailors.txt
+++ b/npc/000-0/sailors.txt
@@ -9,6 +9,14 @@
000-0.gat,23,20,0,1 script Sailors 305,6,6,{
OnTouch:
+ if (getclientversion("") > 3) goto intro;
+ mes "Warning: you using old client.";
+ next;
+ mes "Not all features will work.";
+ next;
+ mes "Please update from http://manaplus.evolonline.org/";
+ next;
+intro:
requestlang @lang;
if (@lang >= 0 && @lang <= 7) setlang @lang;
mesn "Narrator";