Strange Crashdetect Warning [HELP]!
#7

The "u" specifier of sscanf returns INVALID_PLAYER_ID (which is 65535) when the player is not found but the code doesn't check for this condition before evaluating OnDuty[ID] - that's probably where the error comes from.

Quote:
Originally Posted by Yves
Посмотреть сообщение
something wrong in your public OnPlayerCommandText not the command rob
It's actually the other way around - the most recent thing is always on top. In this case: OnPlayerCommandText -> CallLocalFunction -> cmd_rob.
Reply


Messages In This Thread
Strange Crashdetect Warning [HELP]! - by Patrick - 28.02.2013, 20:42
Re: Strange Crashdetect Warning [HELP]! - by Yves - 28.02.2013, 20:49
Re: Strange Crashdetect Warning [HELP]! - by Patrick - 28.02.2013, 20:50
Re: Strange Crashdetect Warning [HELP]! - by Yves - 28.02.2013, 20:52
Re: Strange Crashdetect Warning [HELP]! - by Patrick - 28.02.2013, 21:00
Re: Strange Crashdetect Warning [HELP]! - by Yves - 28.02.2013, 21:02
Re: Strange Crashdetect Warning [HELP]! - by xeeZ - 28.02.2013, 21:55

Forum Jump:


Users browsing this thread: 3 Guest(s)