Question about macro - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about macro (
/showthread.php?tid=401198)
Question about macro -
maverape - 22.12.2012
Hi all, I have a question, how can I make a macro for be a shortcut for commands?
Eg:
#define cmd:%0 YCMD:%0(playerid,params[],help) and then I don't need to make the cmd like that:
YCMD:command(playerid, params[], help)
just
cmd:command {
}
Is it possible?
Re: Question about macro -
ReneG - 22.12.2012
Yes, it will work, as long as YCMD doesn't already have a cmd: macro
Re: Question about macro -
Lapon - 22.12.2012
Yeah i think