[FilterScript] Simple - Reading Player Commands
#1

Deleted.
Reply
#2

pawn Код:
forward OnPlayerCommandPerformed(playerid,cmdtext[],success);
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
      if(IsPlayerAdmin(i))
      {
         if(renable == 1)
         {
             new string[128], PlayerName[24];
             GetPlayerName(playerid, PlayerName, 24);
             format(string, sizeof(string),"[Command - Typing] %s(%d): %s", PlayerName,playerid, cmdtext);
             SendClientMessage(i, COLOR_GREY, string);
         }
      }
   }
   return 1;
}
Is this necessary, you even didn't used this callback in your rest of the part of the script. This script can't work !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)