commands help
#2

No, in the OnPlayerCommandText just add the commands: (or use dcmd or whatever)

pawn Код:
if (strcmp("/help", cmdtext, true, 10) == 0)
  {
    SendClientMessage(playerid,0xAA3333AA,"Test command"); // Do something here
   return 1;
  }

if (strcmp("/anothercmd", cmdtext, true, 10) == 0)
  {
   // Do something here
   return 1;
  }
Reply


Messages In This Thread
commands help - by mike_l - 01.04.2009, 03:55
Re: commands help - by Sdhoirm - 01.04.2009, 09:22
Re: commands help - by mike_l - 01.04.2009, 21:07

Forum Jump:


Users browsing this thread: 1 Guest(s)