[How To] Numeric command
#2

pawn Код:
if(!strcmp(cmd,"/help",true))
{
  cmd=strtok(cmdtext,idx);
  if(!strlen(cmd)) return SendClientMessage(playerid,COLOR_GREY,"USAGE: /help [1-4]");
  if(!strcmp(cmd,"1",true))
  {
    SendClientMessage(playerid,COLOR,"Help text 1.");
  }
  else if(!strcmp(cmd,"2",true))
  {
    SendClientMessage(playerid,COLOR_GREY,"Help text 2.");
  }// etc etc..
Reply


Messages In This Thread
[How To] Numeric command - by _System_ - 17.03.2009, 13:36
Re: [How To] Numeric command - by MenaceX^ - 17.03.2009, 13:38
Re: [How To] Numeric command - by _System_ - 17.03.2009, 13:54
Re: [How To] Numeric command - by MenaceX^ - 17.03.2009, 13:57

Forum Jump:


Users browsing this thread: 2 Guest(s)