28.06.2009, 09:09
Quote:
Originally Posted by Goldkiller
Do you think the len of BanInfoIP can be longer than it's maximum len / size?
BanInfoIP hat 16 cells,hence the string can't be longer than 16. That 'Server Unkown Command' show's up because there must be some kind of crash. pawn Код:
|
This works for command where i need to write something in one string.
But what abbout commands like:
/kick [id] [reason] ?
How to check that [rason] wouldn't be longer than i writed in new Reason[56] ?
Do everything like in /baninfo ? with strlen(params) (knowing that first going ID, not string) ?