SA-MP Forums Archive
Need help with version and version function - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with version and version function (/showthread.php?tid=477831)



Need help with version and version function - SlonCHL - 26.11.2013

Firstly, how do I get the current version name that will be returned by GetPlayerVersion?

Next, if a person client version is outdated, will they be able to connect to my server?

Lastly, same question but this time, if the person's client has a newer version than my server


Re: Need help with version and version function - Voxel - 26.11.2013

If they have a lower version then your server they wont be able to connect and the other way around.

GetPlayerVersion gets the players current SA-MP version and you can return it in a string.


Re: Need help with version and version function - SlonCHL - 28.11.2013

Then I just wasted my time making a version check script? Crapping nice. What if I want them to see a custom message before they get kicked?


Re: Need help with version and version function - cessil - 28.11.2013

not exactly, there's 0.3x, 0.3x R1-2 and 0.3x R2 all which work on 0.3x servers