diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-02 20:25:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-02 20:25:19 +0300 |
commit | c4fbc0161296ca9e11ce8f0b8907e2fe96fa9d0c (patch) | |
tree | 3314e386c833628a6024fd2815c10431423851df /npc/functions | |
parent | 42428950b981dbf84e4a899908672ea3f842cc77 (diff) | |
download | serverdata-c4fbc0161296ca9e11ce8f0b8907e2fe96fa9d0c.tar.gz serverdata-c4fbc0161296ca9e11ce8f0b8907e2fe96fa9d0c.tar.bz2 serverdata-c4fbc0161296ca9e11ce8f0b8907e2fe96fa9d0c.tar.xz serverdata-c4fbc0161296ca9e11ce8f0b8907e2fe96fa9d0c.zip |
Move client check to function.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/clientversion.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt new file mode 100644 index 000000000..828a0fd2b --- /dev/null +++ b/npc/functions/clientversion.txt @@ -0,0 +1,17 @@ +// Evol scripts. +// Authors: +// 4144 +// Description: +// Function checking client version and report if it too old. + +function script CheckClientVersion { + if (getclientversion("") > 3) return; + mes "Warning:"; + mes "Warning:"; + mes "Warning: you using old client."; + next; + mes "Not all features will work."; + next; + mes "Please install client from http://www.evolonline.org/"; + next; +} |