Jump to content
  • 0

Process doesn't stop on the script


Turbosjoker

Question

5 answers to this question

Recommended Posts

12 hours ago, Turbosjoker said:

when i choose 2 or 3 values its doesn't stop on the 2 or 3 value its searching all the values in my script continuously

That's because you forgot to use goto operator after each block, so it just keeps executing the code.

13 hours ago, Turbosjoker said:

If im doing something wrong

1. Don't use goto, use functions.
2. Don't use "clearResults" function where it is not required and don't forget to use it where it IS required (at the start of each block/function in your case).
3. Read help about "multiChoice" function (https://gameguardian.net/help/classgg.html#a1325b0f7c85d6ad6dd8c6f87ada2e126), because you use it's result incorrectly.

13 hours ago, Turbosjoker said:

plz anyone give me correct example

TURBOSJOKER.CS.LDOE_fixed.lua

Link to comment
Share on other sites

12 hours ago, CmP said:

That's because you forgot to use goto operator after each block, so it just keeps executing the code.

1. Don't use goto, use functions.
2. Don't use "clearResults" function where it is not required and don't forget to use it where it IS required (at the start of each block/function in your case).
3. Read help about "multiChoice" function (https://gameguardian.net/help/classgg.html#a1325b0f7c85d6ad6dd8c6f87ada2e126), because you use it's result incorrectly.

TURBOSJOKER.CS.LDOE_fixed.lua

Thnx bro its working and i understood with the script you fixed and posted here i understood lot on the fixed script☺?? . I understand something how to use multiChoice on script 

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.