how to return CMD?
#3

blank. has made a good example but this is more efficient.

paste this on

pawn Код:
#define SHIFT_CMD:%1->%2;           \
COMMAND:%1(playerid, params[])   \
return cmd_%2(playerid, params);
then you can put
pawn Код:
SHIFT_CMD:pdl->siren;
Reply


Messages In This Thread
how to return CMD? - by Gooday - 02.04.2012, 16:16
Re: how to return CMD? - by blank. - 02.04.2012, 16:18
Re: how to return CMD? - by TheArcher - 02.04.2012, 17:01
Re: how to return CMD? - by [ABK]Antonio - 02.04.2012, 17:55
Re: how to return CMD? - by TheArcher - 02.04.2012, 18:40
Re: how to return CMD? - by blank. - 02.04.2012, 18:44
Re: how to return CMD? - by TheArcher - 02.04.2012, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)