sscanf issue. I guess?
#4

While sscanf does check the id when you use "u" it returns INVALID_PLAYER_ID.

What you need to understand is, doing an if sscanf means if it returns 1, clearly INVALID_PLAYER_ID is not 1, therefore if invalid it will not fire off, which is why you check it exclusively afterwards.

Using sscanf in that way only tells if it got the param(s) correctly or not.
Reply


Messages In This Thread
sscanf issue. I guess? - by PrawkC - 02.10.2011, 00:26
Re: sscanf issue. I guess? - by GrimR - 02.10.2011, 01:18
Re: sscanf issue. I guess? - by PrawkC - 02.10.2011, 01:21
Re: sscanf issue. I guess? - by GrimR - 02.10.2011, 01:43
Re: sscanf issue. I guess? - by GrimR - 02.10.2011, 01:46
Re: sscanf issue. I guess? - by PrawkC - 02.10.2011, 01:56
Re: sscanf issue. I guess? - by GrimR - 02.10.2011, 02:16
Re: sscanf issue. I guess? - by GrimR - 02.10.2011, 02:18
Re: sscanf issue. I guess? - by [L3th4l] - 02.10.2011, 02:25
Re: sscanf issue. I guess? - by Toni - 02.10.2011, 02:50

Forum Jump:


Users browsing this thread: 4 Guest(s)