Well, this is embarassing..
#5

Quote:
Originally Posted by 2KY
Посмотреть сообщение
I completely forgot how to do shortcut commands. I've ******d it a couple times and got the same result, but if I try using the result, I get an error that "cmd" is not defined.

pawn Код:
CMD:selclass( playerid, params[] )
{
    SelectTextDraw( playerid, Colour_Red );
    ShowClassSelection( playerid );
    plWaitingOnClassChange [ playerid ] = true;
    return true;
}
CMD:c( playerid, params[] )
{
    return cmd_selclass(playerid, params);
}
Is what I'm trying to do right now. /selclass works, I'm trying to make /c a shortcut to /selclass. What am I doing wrong boys and girls?
pawn Код:
CMD:c(playerid, params[]) return cmd_selclass(playerid, params);
Reply


Messages In This Thread
Well, this is embarassing.. - by 2KY - 17.08.2012, 01:55
Re: Well, this is embarassing.. - by iGetty - 17.08.2012, 01:57
Re: Well, this is embarassing.. - by 2KY - 17.08.2012, 02:05
Re: Well, this is embarassing.. - by iGetty - 17.08.2012, 02:06
Re: Well, this is embarassing.. - by kbalor - 17.08.2012, 05:17

Forum Jump:


Users browsing this thread: 2 Guest(s)