velcan1 Posted December 28, 2010 Posted December 28, 2010 I want only to connect customers 1.0.4 on my server allright ? My Servers Games
0 velcan1 Posted December 28, 2010 Author Posted December 28, 2010 looks like it ??????????????????????????????????????????????????????????????????????????????? My Servers Games
0 dzek (varez) Posted December 28, 2010 Posted December 28, 2010 should work edit: maybe just try? Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
0 velcan1 Posted December 28, 2010 Author Posted December 28, 2010 (edited) My serves have version 1.0.3 no work ;/ not working any more suggestions ? Edited December 28, 2010 by Guest My Servers Games
0 Arran Posted December 29, 2010 Posted December 29, 2010 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.
0 MTA Team ccw Posted December 29, 2010 MTA Team Posted December 29, 2010 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!
0 Arran Posted December 29, 2010 Posted December 29, 2010 Judging by his screenshot he already has one as those parameters were added in 1.0.4
0 velcan1 Posted December 30, 2010 Author Posted December 30, 2010 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 ;/ My Servers Games
0 Arran Posted December 30, 2010 Posted December 30, 2010 Define not working, because it does and there is even an example for it in onPlayerConnect just one version old https://wiki.multitheftauto.com/wiki/OnPlayerConnect
Question
velcan1
I want only to connect customers 1.0.4 on my server
allright ?
My Servers Games
9 answers to this question
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