Question about macro
#1

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?
Reply
#2

Yes, it will work, as long as YCMD doesn't already have a cmd: macro
Reply
#3

Yeah i think
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)