View Single Post
Whai
Senior Member
Join Date: Jul 2018
Old 07-11-2019 , 11:23   Re: How to change string into int?
Reply With Quote #4

Quote:
Originally Posted by Doggg View Post
Thanks for the answer!
how can i fix the arg thing? i mean i thought it should catch it because if(args >2) means also 0 and 1 but i dont know, How should I fix it?
Just do "if(args != 2)"

Quote:
Originally Posted by Doggg View Post
yeah i totally forgot about the return plugin handled thing.. i guess its very important.
If you don't put the return Plugin_Handled, when you enter the command in console : it will say to you "Unknown command" even when the command is executed

Quote:
Originally Posted by Doggg View Post
i feel really bored, i dont know if these stuff really help me progress (have you done these kind of plugins just for practice?).
Well, you did mistakes, someone will correct you : you learn from your errors. So, yes you will progress.

Quote:
Originally Posted by Doggg View Post
have you done these kind of plugins just for practice?
Yes and no, I did plugins for training but also for the community
__________________
Whai is offline