MilkyGT Posted November 13, 2020 Share Posted November 13, 2020 help me..., gimme example of code to add minimum version gg to run script, i need it to secure my own script, thanks. Link to comment Share on other sites More sharing options...
MilkyGT Posted November 13, 2020 Author Share Posted November 13, 2020 3 hours ago, MilkyGT said: help me..., gimme example of code to add minimum version gg to run script, i need it to secure my own script, thanks. if gg.BUILD < 5511 then gg.alert('You need more new version of GG for run this script. At least build 5511.') os.exit() end i got the example of it i guees, but i have no idea how is it works plsssss help me, i've searching in Lua Help but it didnt help at all Link to comment Share on other sites More sharing options...
Lover1500 Posted November 13, 2020 Share Posted November 13, 2020 look for gg.require Link to comment Share on other sites More sharing options...
MilkyGT Posted November 13, 2020 Author Share Posted November 13, 2020 2 minutes ago, Lover1500 said: look for gg.require https://gameguardian.net/help/classgg.html#a4b6b2a5e23317b9fc194cdf21e3331ba i have but my mind still blank with it Link to comment Share on other sites More sharing options...
Lover1500 Posted November 13, 2020 Share Posted November 13, 2020 Examples: gg.require('8.31.1') gg.require('8.31.1', 5645) gg.require(nil, 5645) Missed it? Thats the code to set minimum vertion of gg. Link to comment Share on other sites More sharing options...
MilkyGT Posted November 13, 2020 Author Share Posted November 13, 2020 12 minutes ago, Lover1500 said: Examples: gg.require('8.31.1') gg.require('8.31.1', 5645) gg.require(nil, 5645) Missed it? Thats the code to set minimum vertion of gg. ohh get it, my question might make you think im stoopid but, if i change the number version as i have now, it should be work or no, cus in my mind was like " if i change the number as what i use now & it didnt work it might be the code is wrong" Link to comment Share on other sites More sharing options...
Question
MilkyGT
help me..., gimme example of code to add minimum version gg to run script, i need it to secure my own script, thanks.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.