Jump to content
  • 0

Help! End the script if the target result count isn't reached


CrazyNeko

Question

1 answer to this question

Recommended Posts

14 hours ago, CrazyNeko said:

if gg.getResultsCount(1)

Wrong usage.

It would be like this

if gg.getResultsCount()>=1 then

Or 

hi = gg.getResultsCount()
if hi>=1 then

I use >=1 because the results may be more than 1.You can use >0 too.

 

Read here about gg.getResultsCount

https://gameguardian.net/help/classgg.html#a1123e55c5eb365b425ccfe465c52c510

 

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.