Alternative command name [y_commands] - 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: Alternative command name [y_commands] (
/showthread.php?tid=569678)
Alternative command name [y_commands] -
Denis1 - 01.04.2015
I'm using one of the fastest, if not the fastest, command processor which is y_commands. Does anyone know how can I add an alternative (shortcut) name for a command? Command_AddAltNamed does not seem to be working.
A short update: if I added Command_AddAltNamed inside the OnGameModeInit callback, the alternative command name does not do the same thing as the main name. For instance, /pickup does not do the same thing as /p.
Re: Alternative command name [y_commands] -
Denis1 - 01.04.2015
I fixed it. The topic may be locked.