YCMD Assistance
#1

Hello,

I have multiple commands on my server that have shortcut commands to perform the same command but quicker. I have recently converted from ZCMD to YCMD, and i have an issue with it.

Before, when i wanted to make a shortcut command i would do
Код:
 CMD:short(playerid, params[]) return cmd_shortcut(playerid,params);
And that would be it.

In YCMD that no longer works, i have to do
Код:
Command_AddAltNamed("shortcut", "short");
And i add that to OnGameModeInit. The problem is, when i go ingame and type the short version of the cmd, it returns an unknown command error. What am i doing wrong here?
Reply
#2

I guess u don't type it under OnGameModeInIt type it under the command..as the first line.
Reply
#3

Did not resolve the problem.
Reply
#4

Could you please provide an example, as well as where to place it. The YCMD topic hardly discussed this matter, which is why i'm currently having issues understanding how to use it, sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)