Switch this code?
#3

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:
Код:
#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
and as toran said you need to include return 1;
Reply


Messages In This Thread
Switch this code? - by Sal_Kings - 24.01.2010, 12:17
Re: Switch this code? - by Torran - 24.01.2010, 12:18
Re: Switch this code? - by mansonh - 24.01.2010, 12:20
Re: Switch this code? - by Sal_Kings - 24.01.2010, 12:21
Re: Switch this code? - by mansonh - 24.01.2010, 12:22
Re: Switch this code? - by Sal_Kings - 24.01.2010, 12:23
Re: Switch this code? - by mansonh - 24.01.2010, 12:24
Re: Switch this code? - by mansonh - 24.01.2010, 12:26
Re: Switch this code? - by Sal_Kings - 24.01.2010, 12:35
Re: Switch this code? - by Torran - 24.01.2010, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)