13.02.2009, 18:24
ok at the top of your script: new DisPm[MAX_PLAYERS];
in OnPlayerCommandText:
then in PrivMsg:
in OnPlayerCommandText:
pawn Код:
if(!strcmp("/lsairport", cmdtext, true))
{
DisPm[playerid]=1;
// maby here a message: SendClientMessage
return 1;
}
pawn Код:
if(DisPm[recieverid]==1) return SendClientMessage(playerid,COLOR,"This player has disabled his PM"),0;

