Jump to content

Авто обновление клиента игрока при входе на сервер


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...