Annoying Warnings with DCMD
#1

Код:
dcmd_help(playerid, params[])
There is my code.
Under OnPlayerCommandText
Код:
dcmd(help,0,cmdtext);
This is the warning I get when I compile.
Код:
warning 203: symbol is never used: "params"

This is my DCMD:
Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

I hate warnings, and I know what they are. Just help me fix them. I got like 10 of them because of this.
Reply


Messages In This Thread
[Unsovled] Annoying Warnings with DCMD - by Sledge - 18.12.2010, 02:38
Re: Annoying Warnings with DCMD - by Gustavob - 18.12.2010, 02:40
Re: Annoying Warnings with DCMD - by Sledge - 18.12.2010, 02:43
Re: Annoying Warnings with DCMD - by Lorenc_ - 18.12.2010, 02:43
Re: Annoying Warnings with DCMD - by Sledge - 18.12.2010, 02:50
Re: Annoying Warnings with DCMD - by Gustavob - 18.12.2010, 02:51
Re: Annoying Warnings with DCMD - by Sledge - 18.12.2010, 02:53
Re: Annoying Warnings with DCMD - by Gustavob - 18.12.2010, 02:54
Re: Annoying Warnings with DCMD - by Sledge - 18.12.2010, 02:56
Re: Annoying Warnings with DCMD - by Gustavob - 18.12.2010, 02:58

Forum Jump:


Users browsing this thread: 5 Guest(s)