No I agree - It sounded bad when I thought of it, hence wanting to feel out my lunacy with you folks.
I cant do MyArray[320] as it's related to the ammo types carried by the player. Currently their just indexed as Ammo[x] where x is the ammo type defined in the game rules. I want to implement a magazine type system so for the ammo the player is carrying Ammo[x][y] would have x pointing to the ammo type and x to one of the magazines of that type being carried. - Jed On 14/07/07, Garry Newman <[EMAIL PROTECTED]> wrote:
Sounds like an awful idea, but can't you just do MyArray[320]. Also, one thing to be aware of with CNetworkArray is that if you change one element it sends the whole thing - not just the element that changed. On 7/14/07, Jed <[EMAIL PROTECTED]> wrote: > OK heres a tricky one. > > How can I sent a 2 dimensional array as a network variable? I.e. > instead of having myArray[x] I want myArray[x][y]. > > I've already got CNetworkArray( int, myArrray, 32 ) but how could I do > a 32 x 10 array as a network var? > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

