command not working.
#1

Hi there ! I have a showpms command but it's not working. Every time I type /showpms it says that I'm listening ot the PM's on the server but I'm not-.. this is how my command looks like .
Код:
	
if(strcmp(cmd, "/showpms", true) == 0)
	{
	if (PlayerInfo[playerid][pAdministrator] >= 1)
	     {
                  if(AscultaPM[playerid] == 0)
              {
                   SendClientMessage(playerid, COLOR_YELLOW, "Acum asculti PM-urile de pe server.");
                   AscultaPM[playerid] = 0;
			}
			if(AscultaPM[playerid] == 1)
            {
                   SendClientMessage(playerid, COLOR_YELLOW, "Acum nu mai asculti PM-urile de pe servr.");
                   AscultaPM[playerid] = 1;
			}
	    }
    }
Btw, don't blame me that im using strcmp-.. It's IBP.

And this is were I'm defining it.

Код:
new AscultaPM[MAX_PLAYERS] = 0;
Reply


Messages In This Thread
command not working. - by SpikeSpigel - 06.07.2015, 01:52
Re: command not working. - by mirou123 - 06.07.2015, 01:56
Re: command not working. - by SpikeSpigel - 06.07.2015, 02:15
Re: command not working. - by mirou123 - 06.07.2015, 02:25
Re: command not working. - by SpikeSpigel - 06.07.2015, 02:39
Re: command not working. - by mirou123 - 06.07.2015, 02:59
Re: command not working. - by SpikeSpigel - 06.07.2015, 11:57
Re: command not working. - by Prokill911 - 06.07.2015, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)