|
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
|
08-29-2013
, 16:12
Re: update broke us
|
#12
|
well if you did use modulus and you only accepted even numbered delimiter pairs, it would by far filter out most "stupid" mistakes, and "bacon sandwich" would fail outright, since it would split into an odd number (1 string)
Also this:
new count = ExplodeString(att, " ; ", atts, 32, 32);
should be:
new count = ExplodeString(att, ";", atts, 32, 32);
As far as I know, atoi discards whitespace leading up to the number, and then discards everything after the nubmer it finds, so I assume stringtoint does the same.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
Last edited by friagram; 08-29-2013 at 16:17.
|
|
|
|