Jump to content
  • 0

minclientversion


velcan1

Question

9 answers to this question

Recommended Posts

  • 0

I believe that those parameters only work for 1.0.4 and above players, therefore you can not block 1.0.3 or below that way. Instead add this to a server side script:

function checkVer(nikc, ip, user, serial, clientVersion) 
    if (clientVersion < 260) then 
        cancelEvent(true, "Upgrade to 1.0.4 @ mtasa.com") 
    end 
end 
addEventHandler("onPlayerConnect", root, checkVer) 

Thats what I use.

Link to comment
  • 0
  • MTA Team
I believe that those parameters only work for 1.0.4 and above players, therefore you can not block 1.0.3 or below that way.

Not quite correct. The parameters work on 1.0.4 and above servers. They will affect all connecting client versions.

velcan1, get 1.0.4 server!

Link to comment
  • 0
I believe that those parameters only work for 1.0.4 and above players, therefore you can not block 1.0.3 or below that way. Instead add this to a server side script:
function checkVer(nikc, ip, user, serial, clientVersion) 
    if (clientVersion < 260) then 
        cancelEvent(true, "Upgrade to 1.0.4 @ mtasa.com") 
    end 
end 
addEventHandler("onPlayerConnect", root, checkVer) 

Thats what I use.

not working ;/

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...