Invalid Command Lenght: Exceeding 50 characters
#7

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You don't need to use sscanf to split params when you only need 1 parameter. You can use isnull to confirm there's anything typed after the command and params contains the main string, so you can just use params if you want a string, or you can use strval(params) to convert the params string into an integer.
Oh, i didn't think about that, will start doing it. So me creating another string and using it instead of params caused this issue?
I can see how i can save memory by not creating new strings and also how it increases the performance on the command.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)