DarkangelS Posted June 16, 2012 Share Posted June 16, 2012 как зделать чтобы при входе на мой сервер он требывал обновление клиента до нового патча? Link to comment
TwiX! Posted June 16, 2012 Share Posted June 16, 2012 https://wiki.multitheftauto.com/wiki/GetPlayerVersion https://wiki.multitheftauto.com/wiki/GetVersion local ver = getVersion ().sortable local type = string.sub( ver, 7, 7 ) local build = string.sub( ver, 9, 13 ) if build < "02888" and type ~= "1" or ver < "1.1.0" then outputChatBox( "Resource is not compatible with this client." ) outputChatBox( "Please get latest 1.1 nightly from nightly.multitheftauto.com" ) return end Link to comment
DarkangelS Posted June 16, 2012 Author Share Posted June 16, 2012 а просто написать в mtaserver.conf можно версию только где именно если возможно? Link to comment
TwiX! Posted June 16, 2012 Share Posted June 16, 2012 а просто написать в mtaserver.conf можно версию только где именно если возможно? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now