Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/23/2022 in all areas

  1. For "equal" it doesn't matter much, since comparison of strings will work as well. For "greater than" and "less than" it is correct solution and string comparison is not. String comparison works by comparing strings character-by-character in alphabetical order, so it's not applicable for comparing strings that represent versions.
    1 point
  2. There is built-in way to ensure that version is not older than specified one, by using "gg.require" function. For example: gg.require("101.1") One other important note is NOT to compare version strings using operators ">" and "<" like it's done in some answers in this topic, because it won't work as expected in all cases. The condition "99.0" > "101.0" evaluates to true, but version 99.0 is not greater than 101.0. That's why to compare versions using by "greater than" or "less than" conditions "gg.VERSION_INT" constant that MAARS has mentioned in his answer should be used instead.
    1 point
  3. Ok here is the video for you to watch and those who are interested follow the same method of the video and there is no ban. I can send packages. VID-20221223-WA0000.mp4
    1 point
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.