how to return CMD?
#4

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
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;
Actually, what blank has posted is more efficient in what he wants. He wants it to return something that changes the params to "1" so it will auto do the command.
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: 3 Guest(s)