Solved Thanks! :)
#5

ok at the top of your script: new DisPm[MAX_PLAYERS];
in OnPlayerCommandText:
pawn Код:
if(!strcmp("/lsairport", cmdtext, true))
    {
        DisPm[playerid]=1;
        // maby here a message: SendClientMessage
        return 1;
    }
then in PrivMsg:

pawn Код:
if(DisPm[recieverid]==1) return SendClientMessage(playerid,COLOR,"This player has disabled his PM"),0;
Reply


Messages In This Thread
Solved Thanks! :) - by notec100 - 13.02.2009, 17:41
Re: A Lil Help - by harrold - 13.02.2009, 18:03
Re: A Lil Help - by Daren_Jacobson - 13.02.2009, 18:06
Re: A Lil Help - by notec100 - 13.02.2009, 18:07
Re: A Lil Help - by harrold - 13.02.2009, 18:24
Re: A Lil Help - by ICECOLDKILLAK8 - 13.02.2009, 18:26
Re: A Lil Help - by harrold - 13.02.2009, 18:35
Re: A Lil Help - by Think - 13.02.2009, 18:37
Re: A Lil Help - by ICECOLDKILLAK8 - 13.02.2009, 18:41
Re: A Lil Help - by notec100 - 13.02.2009, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)