11.04.2011, 13:12
You need to make 'r' a string, right now it's an integer, you're trying to unformat your command parameters in to 'r' as a string, but you can't as you declared it as an integer. Change 'new id, r;' to 'new id, r[64];' (or another size, eg: [128]).
Anyhow - you should just send the reason to BanEx(), so 'BanEx(id, r);' because BanEx()'s second parameter is expecting a reason, not to state the obvious (that an admin banned Y).
Anyhow - you should just send the reason to BanEx(), so 'BanEx(id, r);' because BanEx()'s second parameter is expecting a reason, not to state the obvious (that an admin banned Y).