Thanks for the reply,

I am looking into doing some network code, it would be very helpfull to be able to register all variables so that i can assign an id to each that is recognised between the server and any clients. I was going to enumerate the strings but the only other method for variables is to register the variable by its name first which is not a very clean way of doing it because every variable that is sent over the network will need to be registered first.

I have another question that i have just come across, I noticed that send_var sends an entire array, does this mean it is possible to determine the number of elements in an array>. This would be helpfull to prevent overflows in my plugins

Thanks


Wolfpack Software (www.wolfpacksoftware.com) A catalyst in the evolution of games Available for paid work