24.01.2010, 12:20
This is the code i just gave you a second ago with the instruction to include the dcmd from samp wiki, why make another post?
http://forum.sa-mp.com/index.php?top...6560#msg886560
https://sampwiki.blast.hk/wiki/Dcmd#Define_line
aka:
and as toran said you need to include return 1;
http://forum.sa-mp.com/index.php?top...6560#msg886560
https://sampwiki.blast.hk/wiki/Dcmd#Define_line
aka:
Код:
#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