Jump to content

Search the Community

Showing results for tags 'key value'.

  • Search By Tags

    Type tags separated by commas.
    For example, the common name of the game: PUBG, Free Fire, Rules of Survival, Critical Ops, Mobile Legends: Bang Bang, etc.
  • Search By Author

Content Type


Forums

  • GameGuardian
    • Requests
    • Help
    • Guides
    • Cheats
    • Video Tutorials
    • Unintended Effects
  • General
    • General Discussion
    • Introduce yourself (:
    • Announcements
    • Website suggestions/Bugs
  • Downloads Support
    • Apps
    • LUA scripts
  • Online Multiplayer Mods
    • Altering Online Games with Gameguardian
    • Download Mods
  • Other Hacks
    • Tutorials
    • Non-GameGuardian
  • Archive
    • Archived topics

Categories

  • Official Downloads
  • Virtual spaces (no root)
  • LUA scripts
    • Forward Assault
    • Free Fire
    • PUBG
    • Rules of Survival
    • Templates
    • Tools
  • Test applications
  • Other

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Device


Discord ID

Found 1 result

  1. I don't know why but my script does not update the value that is assigned to variable structure_count. function STRU_dataBlockSegments() local STRU_structures = {} local structure_count = 1 -- value of that needs to be incremented local STRU_struct_offset = 1 local STRU_structureNaming = { [1] = "Structure ("..structure_count..") :Unknown: ", [2] = "Structure ("..structure_count..") :Field offset: ", [3] = "Structure ("..structure_count..") :Field amount: " } local STRU_block = STRU_dataBlockSize() for i, v in ipairs(STRU_block) do STRU_structures[#STRU_structures + 1] = {address = v.address, flags = gg.TYPE_BYTE, name = STRU_structureNaming[STRU_struct_offset]} if STRU_struct_offset == 3 then STRU_struct_offset = 1 structure_count = structure_count + 1 -- Should be incremented by one, however in the table STRU_structureNaming it remains 1. else STRU_struct_offset = STRU_struct_offset + 1 end end end STRU_dataBlockSegments() How do i access the table STRU_structureNaming and increment the value structure_count when condition is met?
×
×
  • 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.