How to make commands ?
#3

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if (strcmp("/cmds", cmdtext, true, 10) == 0)
  {
        SendClientMessage(playerid, 0xFFFFFFFF, "[TELES] COMING SOON");
  }
  if(strcmp("/help", cmdtext, true, 10) == 0)
  {
        SendClientMessage(playerid, 0xFFFFFFFF, "[HELP] USE /cmds FOR COMMANDS !");
  }
  return 0;
}
Omg thank you , you rocks !
Reply


Messages In This Thread
How to make commands ? - by antsolen - 06.11.2010, 09:24
Re: How to make commands ? - by ViruZZzZ_ChiLLL - 06.11.2010, 09:31
Re: How to make commands ? - by antsolen - 06.11.2010, 09:34

Forum Jump:


Users browsing this thread: 1 Guest(s)