17.08.2012, 01:55
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.
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:selclass( playerid, params[] )
{
SelectTextDraw( playerid, Colour_Red );
ShowClassSelection( playerid );
plWaitingOnClassChange [ playerid ] = true;
return true;
}
CMD:c( playerid, params[] )
{
return cmd_selclass(playerid, params);
}