28.02.2013, 21:55
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.
It's actually the other way around - the most recent thing is always on top. In this case: OnPlayerCommandText -> CallLocalFunction -> cmd_rob.
It's actually the other way around - the most recent thing is always on top. In this case: OnPlayerCommandText -> CallLocalFunction -> cmd_rob.