[Help] Alternative Command for YCMD
#1

Hello there, i know there is like

Код:
CMD:alternative(playerid, params[])
{
SCM(playerid,-1,"Command");
return 1;
}
Код:
CMD:alt(playerid, params[])
{
return cmd_alternative(playerid, params);
}
But how to make for YCMD, i tryed but errors, just started to work with YCMD...

Код:
CMD:alternative(playerid, params[],help)
{
#pragma unused help
#pragma unused params
SCM(playerid,-1,"Command");
return 1;
}
Reply
#2

Okay,lock, i founded.. soultion

Command_AddAltNamed
Reply
#3

pawn Код:
Command_AddAltNamed("alternative", "alt");
EDIT: Oh you found it!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)