diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-22 21:08:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-22 21:09:42 +0300 |
commit | bd02b014592c977b705d47b1a9843ee8de8ebf09 (patch) | |
tree | e0a40a8f43e48a3c771ac34c2b8da4c2720c0ecd /npc/functions/clientversion.txt | |
parent | c448a51af1199d5854e8face94597df2c9762c7e (diff) | |
download | serverdata-bd02b014592c977b705d47b1a9843ee8de8ebf09.tar.gz serverdata-bd02b014592c977b705d47b1a9843ee8de8ebf09.tar.bz2 serverdata-bd02b014592c977b705d47b1a9843ee8de8ebf09.tar.xz serverdata-bd02b014592c977b705d47b1a9843ee8de8ebf09.zip |
Show warning for clients with version < 5.
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 28636436..340d4eb1 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -5,7 +5,7 @@ // Function checking the client version and reports if it is too old. function script CheckClientVersion { - if (getclientversion("") > 3) return; + if (getclientversion("") > 4) return; mesn "Narrator"; mes col("Warning.", 9); @@ -16,5 +16,4 @@ function script CheckClientVersion { next; mes col("Please install the new client from http://www.evolonline.org/", 9); next; - } |