error
#5

Doing

pawn Код:
if(strcmp(dini_Get(file, "IP"), IP) == 0)
actually means

pawn Код:
if(dini_Get(file, "IP") == IP)
but you can't compare strings like that in pawn, you must use strcmp for that.

strcmp is pretty much same as == but used for strings.
Reply


Messages In This Thread
error - by omer5198 - 09.08.2011, 20:06
Re: error - by MadeMan - 09.08.2011, 20:08
Re: error - by [HiC]TheKiller - 09.08.2011, 20:08
Re: error - by omer5198 - 09.08.2011, 20:29
Re: error - by MadeMan - 09.08.2011, 20:36
Re: error - by omer5198 - 10.08.2011, 13:11

Forum Jump:


Users browsing this thread: 1 Guest(s)