Strcmp not working
#3

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
Reply


Messages In This Thread
Strcmp not working - by Robbin237 - 20.03.2009, 15:54
Re: Strcmp not working - by Robbin237 - 22.03.2009, 16:18
Re: Strcmp not working - by tom_jonez - 23.03.2009, 03:51
Re: Strcmp not working - by Pghpunkid - 23.03.2009, 05:38
Re: Strcmp not working - by Robbin237 - 28.04.2009, 12:04
Re: Strcmp not working - by MenaceX^ - 28.04.2009, 12:21
Re: Strcmp not working - by Djiango - 28.04.2009, 12:34

Forum Jump:


Users browsing this thread: 3 Guest(s)