Log in to reply
 

Dynamic Variable name



  • is there a way in c # to create dynamic variable names or dependent on a file name? I want to update my mod AddBlips so that it is enough to create an xml file with coordinates, sprite, color and name in a specific folder. the problem is that to create it we must also create a variable so I can not create only one variable if then there are 20 xml (then blip) in the folder. I wonder if there is a way to make the variable name be the name of the xml file or to dynamically change it


  • MODERATOR

    You can utilize classes (or structs) to group information.

    What is it exactly that you want to change?


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.