Jump to content

Lua Guide: checking the package of the selected process


PublicHax

Recommended Posts

Again a lesson on writing a script from a no-name, which has only cheats in its head.
Today I will teach you how to record a package check of a selected process.
It can be written as follows:

if gg.getTargetPackage() == "publichaxloh.io"
then
gg.toast("Loading script, await")
else
print("what are you looking at")
os.exit()
end

 

P.S My primary language is Russian. I used a translator, I hope everything is fine with the translation

Link to comment
Share on other sites

  • 2 weeks later...
On 6/19/2021 at 4:07 PM, PublicHax said:

Again a lesson on writing a script from a no-name, which has only cheats in its head.
Today I will teach you how to record a package check of a selected process.
It can be written as follows:

if gg.getTargetPackage() == "publichaxloh.io"
then
gg.toast("Loading script, await")
else
print("what are you looking at")
os.exit()
end

 

P.S My primary language is Russian. I used a translator, I hope everything is fine with the translation

What do you mean by process?

Process gg its use gg.getTargetInfo API.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.