How to create aliases with zcmd ? - 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: How to create aliases with zcmd ? (
/showthread.php?tid=516884)
How to create aliases with zcmd ? -
S4t3K - 02.06.2014
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.
Re: How to create aliases with zcmd ? -
Konstantinos - 02.06.2014
pawn Код:
CMD:menu(playerid, params[]) return cmd_dialog(playerid, params);
* Note that you should have the code in /dialog command.
Re: How to create aliases with zcmd ? -
Stinged - 02.06.2014
https://sampforum.blast.hk/showthread.php?tid=91354
Has everything about zcmd.