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!