18.02.2010, 11:20
pawn Код:
if(strcmp(cmd, "/togpm", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pDonateRank] == 2)
{
if (!HidePM[playerid])
{
HidePM[playerid] = 1;
SendClientMessage(playerid, COLOR_GRAD2, " Private messages has been Disabled !");
}
else if (HidePM[playerid])
{
HidePM[playerid] = 0;
SendClientMessage(playerid, COLOR_GRAD2, " Private messages has been Enabled !");
}
}
}
return 1;
}
pawn Код:
if(PlayerInfo[playerid][pDonateRank] == 2)