SA-MP Forums Archive
[DOUBTFUL]: GetPlayerVersion - 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: [DOUBTFUL]: GetPlayerVersion (/showthread.php?tid=324305)



[DOUBTFUL]: GetPlayerVersion - Jovanny - 09.03.2012

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


Re: [DOUBTFUL]: GetPlayerVersion - jamesbond007 - 09.03.2012

what?

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

thank me later


Re: [DOUBTFUL]: GetPlayerVersion - coole210 - 09.03.2012

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


Respuesta: [DOUBTFUL]: GetPlayerVersion - Jovanny - 09.03.2012

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


Re: [DOUBTFUL]: GetPlayerVersion - OKStyle - 09.03.2012

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


AW: [DOUBTFUL]: GetPlayerVersion - Meta - 09.03.2012

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")


Re: [DOUBTFUL]: GetPlayerVersion - Vince - 09.03.2012

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.


Re: [DOUBTFUL]: GetPlayerVersion - Kar - 09.03.2012

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


Re: [DOUBTFUL]: GetPlayerVersion - 3ventic - 09.03.2012

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.


Re: [DOUBTFUL]: GetPlayerVersion - MP2 - 09.03.2012

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.