/showpms command not working . - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /showpms command not working . (
/showthread.php?tid=580757)
Resolved. -
SpikeSpigel - 08.07.2015
Resolved.
Re: /showpms command not working . -
SpikeSpigel - 08.07.2015
BUMP.
Re: /showpms command not working . -
Tamer - 08.07.2015
pawn Код:
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] = 1;
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "Acum nu mai asculti PM-urile de pe servr.");
AscultaPM[playerid] = 0;
}
}
}
Re: /showpms command not working . -
SpikeSpigel - 09.07.2015
Quote:
Originally Posted by Tamer
pawn Код:
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] = 1; } else { SendClientMessage(playerid, COLOR_YELLOW, "Acum nu mai asculti PM-urile de pe servr."); AscultaPM[playerid] = 0; } } }
|
It worked for the /showpms command , now it says when I'm activating/dezactivaiting the showpms and works perfectly. But I still don't get in game what players are speaking on PM.
RESOLVED -
SpikeSpigel - 09.07.2015
Resolved, please delete.