How to create aliases with zcmd ?
#1

Hi.

I'd like to create command aliases, for example, when a player types "/menu" or "/dialog" it does the same thing.
With OnPlayerCommandText, it's doable with comparing multiple times cmdtext in the same condition, but how to do with zcmd ?

Thanks in advance.
Reply
#2

pawn Код:
CMD:menu(playerid, params[]) return cmd_dialog(playerid, params);
* Note that you should have the code in /dialog command.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=91354

Has everything about zcmd.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)