DCMD error
#1

Hi. Iґve got this in my code, in OnPlayerCommandText(playerid, cmdtext[]):
Код:
dcmd(buyticket,		9, cmdtext);
And I get error:
Код:
G:\LS to LV metro - SAMP\ls-lv-underground.pwn(146) : error 035: argument type mismatch (argument 2) // 146 is that line dcmd(buyticket...)
I also have this in code:
Код:
#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
Whereґs the problem? Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)