Thread: Store 3 values
View Single Post
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-16-2018 , 18:37   Store 3 values
Reply With Quote #1

I need to store 3 values in an array. Not sure what would be the best approach for this.

For example:
  • Client Index
  • bool value
  • Some text

If it was just two sets of data, I could have done something like this.

PHP Code:
char TeamNames[][] = {
"NONE",
"SPEC",
"SURV",
"INFC"
}; 
__________________
Spirit_12 is offline