strcmp = bugged?
#3

This is how strcmp works, it returns 0 if one of the strings is empty. So you should just check if they are not empty

pawn Код:
if(abKanep[x][kanep_rajaja][0] && strcmp(abKanep[x][kanep_rajaja], sendername) == 0)
Reply


Messages In This Thread
strcmp = bugged? - by Typhome - 29.04.2012, 09:32
Re: strcmp = bugged? - by Aira - 29.04.2012, 09:38
Re: strcmp = bugged? - by MadeMan - 29.04.2012, 09:40
Re: strcmp = bugged? - by Aira - 29.04.2012, 09:40
Re: strcmp = bugged? - by Typhome - 29.04.2012, 09:45
Re: strcmp = bugged? - by MadeMan - 29.04.2012, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)