Quote:
Originally Posted by Doggg
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
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
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
have you done these kind of plugins just for practice?
|
Yes and no, I did plugins for training but also for the community
__________________