A little noob-question
I use
Code:
new CC[15]
get_user_ip(id,userip,31,1)
geoip_country(userip,CC)
to catch a players country...
Now, i will compare this with a variable (i.e. "United States" )
Code:
if (CC == "United States")
{
}
But this is not the correct syntax (CC is a array i think)...
Because the following error occured:
Quote:
033 array must be indexed (variable name)
An array as a whole cannot be used in a expression; you must indicate
an element of the array between square brackets.
|
How is the correct syntax ?
I've read the Help-Files, but i don't understand some things...
thx in advance...