[DOUBTFUL]: GetPlayerVersion
#1

What is the purpose of the function "GetPlayerVersion" ?
If one day is thrown "0.3f" we can get to servers "0.3e"

Or for that?

EDIT: O is for future releases of 0.3e, example: 0.3e R2
Reply
#2

what?

https://sampwiki.blast.hk/wiki/GetPlayerVersion

thank me later
Reply
#3

https://sampwiki.blast.hk/wiki/GetPlayerVersion

If I were to ever use it, It would be because I'm using a 0.3e R3 (example) server function, and the player has an incompatible version for the function, 0.3e RC (example).
Reply
#4

I wondered if it was only for further revisions or to future versions of SAMP
Reply
#5

I think it will be useful func for time, that 0.3e clients join to 0.3f servers or smth.
Reply
#6

Maybe to check optional client updates (like the server was 0.3c and the client is that R2 version where the objects were removed you'd kick the client) or to save the version to use it later somehow ("You started with: 0.3e R3")
Reply
#7

At present time, you cannot join a 0.3d server with a 0.3e client and vice-versa. So the function is, in fact, useless.
Reply
#8

It's not useless, i'm sure it's for what Meta said.

Optional client fixes. Say you have 0.3d R1 client, and R2 released with those object bug fixes, which hurt a quite amount of players. I would tell them to upgrade to R2 with the help of that function
Reply
#9

It helps with debugging and maybe later on, the players using 0.3e that try to connect to a 0.3d server can be prompted to launch the server with 0.3d.
Reply
#10

You will never be able to join 0.3e servers with the 0.3f client - because the 0.3e client won't have the code that is needed for 0.3f clients. That's why you can't join with old versions, duh.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)