View Single Post
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 10-17-2017 , 22:31   Re: get_players() returning wrong value
Reply With Quote #26

Quote:
Originally Posted by fysiks View Post
That's a bug that should be fixed.
I think it is defined behaviour: https://github.com/alliedmodders/amx....cpp#L451-L452. So, documentation should be fixed.
What is your suggestion? Producing an error? I think error should be produced only for negative numbers, behaviour for 0 should stay the same.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@