SOLVED!
#3

Quote:
Originally Posted by Rav
you could try something like this

pawn Код:
if (strcmp(cmdtext, "/am", true) == 0)
{
  new string[128];
 
  // strmid(destinaton, source, index start, max length)
  strmid(string, cmdtext, strfind(cmdtext, " "), strlen(cmdtext));

  // format your string if you need to

  for (new i = 0; i < MAX_PLAYERS; i++)
    // if player is admin
      SendClientMessage(i, COLOUR, string);
  return 1;
}
Thanks a lot Rav! You are very helpful!
Reply


Messages In This Thread
SOLVED! - by notec100 - 21.03.2009, 04:53
Re: A Question - by [RP]Rav - 21.03.2009, 07:48
Re: A Question - by notec100 - 21.03.2009, 22:32

Forum Jump:


Users browsing this thread: 2 Guest(s)