06.07.2015, 01:52
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 .
Btw, don't blame me that im using strcmp-.. It's IBP.
And this is were I'm defining it.
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;
}
}
}
And this is were I'm defining it.
Код:
new AscultaPM[MAX_PLAYERS] = 0;

