Need help.
#1

I made /mask command that you can buy mask in a 24/7..
however I wish to make a command for admins that will show all the masked players..

can anyone help me with it?
Reply
#2

pawn Код:
if(strcmp(cmd, "/command", true) == 0)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(PlayerInfo[i][pMask] == 1)
     {
        GetPlayerName(i, sendername, sizeof(sendername));
        format(string, 256, "» [ID: %d] Player with Mask: %s", i,sendername);
        SendClientMessage(i, COLOR, string);
    }
}
Reply
#3

can you use ZCMD?
Reply
#4

pawn Код:
CMD:command( playerid, params[])
{
    if(PlayerInfo[i][pMask] == 1)
     {
         new i;
         i = strval( params );
        GetPlayerName(i, sendername, sizeof(sendername));
        format(string, 256, "» [ID: %d] Player with Mask: %s", i,sendername);
        SendClientMessage(i, COLOR, string);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)