GetCmdArg help
I'm getting this error
error 035: argument type mismatch (argument 1) From this line of my code GetCmdArg(1, text, sizeof(text)) Text is set a few lines up on this line decl String:text[255] I honestly can't see what the problem is, this is a mod of an existing plugin which appears to have ceased development and I just need a little extra functionality for it to make my job easier, I've copied GetCmdArg from lower down in the code, changed the given values but this is still what I get Any Ideas or do I need to supply more code |
Re: GetCmdArg help
Looks ok to me at first glance.
Are you absolutely sure that's the line the compiler is complaining about? |
Re: GetCmdArg help
My bad, seems that last time I compiled I had changed the code but not saved it so the line numbers were off, thanks anyway, going to fix the ACTUAL problem and add this topic to my Duh Moments
|
All times are GMT -4. The time now is 19:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.