23.03.2009, 03:51
make sure:
new PlayerIP[MAX_PLAYERS];
is actually:
new PlayerIP[MAX_PLAYERS][];
because the ip is actually a string, not just 1 integer.
PlayerIP[MAX_PLAYERS][] =
{
{"192.168.0.1"},//id 1
{"192.168.0.2"} // id 2
};
just a thought, might, might not work
new PlayerIP[MAX_PLAYERS];
is actually:
new PlayerIP[MAX_PLAYERS][];
because the ip is actually a string, not just 1 integer.
PlayerIP[MAX_PLAYERS][] =
{
{"192.168.0.1"},//id 1
{"192.168.0.2"} // id 2
};
just a thought, might, might not work