Jump to content
  • 0

How do I save vakues in a script and reuse that value without searching the number?


NMYT

Question

Posted

Hey how do I save values in a script to reuse them in the same script? I want this becaise in my script I need to edit all to 0 but if I search 0 and change the value the game crashes except when I edit the values I havent deleted.

7 answers to this question

Recommended Posts

Posted
5 hours ago, AKRAMRAZA said:

For that only I said , find group search for your desired value and put it in script. See in videos and tutorials for examples.

I understand what you're trying to say but I mean isn't there a command where, if you told the script to search 10 and edit all to 0, How do I tell that script to remember those specific values so when I edit off the script will edit only the 0s it already searched?

Posted
3 hours ago, NMYT said:

I understand what you're trying to say but I mean isn't there a command where, if you told the script to search 10 and edit all to 0, How do I tell that script to remember those specific values so when I edit off the script will edit only the 0s it already searched?

Save your values in tables , and use that tables for on-off

Posted
7 hours ago, AKRAMRAZA said:

Save your values in tables , and use that tables for on-off

I am kinda new can You send a script ex

Posted
On 10/22/2019 at 4:47 AM, AKRAMRAZA said:

Make group search for your desired value.

Can you send an example? I am pretty new to scripting

Posted
19 hours ago, NMYT said:

Can you send an example? I am pretty new to scripting

For that only I said , find group search for your desired value and put it in script. See in videos and tutorials for examples.

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.