strcmp bad checking or what?
#1

Debug:
pawn Код:
printf("DEBUG: |%s|, |%s|", SerwerInfo[sLosowyKod], message);
Generated:
Код:
[21:26:21] DEBUG: |5w*t5#.2a,fniu4u|
- there's no second code '%s' - message. Why?

Checking:
pawn Код:
if(!strcmp(SerwerInfo[sLosowyKod], message))
{
//rest
}
It's OnPlayerText callback. Message is my new way to send message. Just returning false for OnPlayerText callback. Messeage is my string of the message.
Reply


Messages In This Thread
strcmp bad checking or what? - by Riddick94 - 18.08.2011, 19:29
Re: strcmp bad checking or what? - by Riddick94 - 18.08.2011, 20:41
Respuesta: strcmp bad checking or what? - by uprp - 18.08.2011, 21:16
Re: strcmp bad checking or what? - by Riddick94 - 18.08.2011, 22:28
Re: strcmp bad checking or what? - by Gh0sT_ - 18.08.2011, 22:41
Re: strcmp bad checking or what? - by AndreT - 18.08.2011, 22:43
Re: strcmp bad checking or what? - by Riddick94 - 19.08.2011, 11:56
Re: strcmp bad checking or what? - by Riddick94 - 19.08.2011, 12:02
Re: strcmp bad checking or what? - by Riddick94 - 19.08.2011, 12:26
Re: strcmp bad checking or what? - by Riddick94 - 19.08.2011, 13:57

Forum Jump:


Users browsing this thread: 8 Guest(s)