Jump to content

Recommended Posts

Hello,

I wanna upgrade my gg scripts and want to ask if someone could tell me something about functions, how they are used and where they are used?

Edited by Squidoodle04

Share this post


Link to post
Share on other sites

On 9/1/2019 at 1:17 PM, Squidoodle04 said:

Hello,

I wanna upgrade my gg scripts and want to ask if someone could tell me something about functions, how they are used and where they are used?

A function is a group of commands that are assigned a name that acts like a handle to that group of commands. To execute this group of commands defined in the function, you simply call the function by the name you provided.

 

Learn about coding , these are basics , if you don't understand these basic things then you can't write scripts or any codes.

Share this post


Link to post
Share on other sites

http://lua-users.org/wiki/FunctionsTutorial

Quote

Functions let you store a piece of code in a value, are useful to be able to run the same piece of code from multiple places, without having to duplicate it. Also they let you change the behavior of your program at runtime by giving different functions to different parts of your code.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Jackb4224
      Hello! I have xiaomi redmi note 7 android 9.0 version miui 10. my problem is that most game guardian games don't detect. I changed the virtual space but it did nothing. Is it because of miui?
       
       
      Screenrecorder-2019-09-18-15-12-50-628.mp4
    • By Jackb4224
      Hello! I have xiaomi redmi note 7 android 9.0 version miui 10. my problem is that most game guardian games don't detect. I changed the virtual space but it did nothing. Is it because of miui?
    • By Squidoodle04
      I want to make a script where you can close GG without ending script.
      Is this possible and if yes, could someone explain me how?
×
×
  • Create New...