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