Need Help with dcmd
#1

Hello, I have added this to my server:

pawn Код:
#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

#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
If I try to leave one it gives my errors and i still get them with both of them.
How can i keep both in my game mode with out having errors becouse i need both.
Reply


Messages In This Thread
Need Help with dcmd - by Elmerz_com - 21.01.2011, 19:14
Re: Need Help with dcmd - by Mokerr - 21.01.2011, 19:17
Re: Need Help with dcmd - by _Tommy - 21.01.2011, 19:26
Re: Need Help with dcmd - by Elmerz_com - 21.01.2011, 19:28
Re: Need Help with dcmd - by Elmerz_com - 21.01.2011, 19:37
Re: Need Help with dcmd - by _Tommy - 21.01.2011, 19:47
Re: Need Help with dcmd - by Elmerz_com - 21.01.2011, 19:50
Re: Need Help with dcmd - by WillyP - 21.01.2011, 19:52
Re: Need Help with dcmd - by Zh3r0 - 21.01.2011, 19:55
Re: Need Help with dcmd - by _Tommy - 21.01.2011, 20:01

Forum Jump:


Users browsing this thread: 2 Guest(s)