[Ajuda] Comando
#1

Galera, eu uso o seguinte codigo para /MP

pawn Код:
CMD:mp(playerid,params[])
{
    static giveid,texto[128],mandou[MAX_PLAYER_NAME],recebeu[MAX_PLAYER_NAME],string[128];
    if(sscanf(params, "us[128]", giveid, texto))return SendClientMessage(playerid, -1, "[INFO] Correto: /mp [ID] [Mensagem]");
    if(!IsPlayerConnected(giveid))return SendClientMessage(playerid, -1, "[ERRO] Player nгo conectado!");
    GetPlayerName(giveid,recebeu,sizeof(recebeu));
    GetPlayerName(playerid,mandou,sizeof(mandou));
    format(string,sizeof(string),"{FF54BF}MP Enviada para %s :{FFFF00} %s",recebeu,texto);
    SendClientMessage(playerid,-1,string);
    format(string,sizeof(string),"{FF0000}MP Recebida de %s: {FFFF00} %s",mandou,texto);
    SendClientMessage(giveid,-1,string);
    return true;
}
Eu queria saber como faзo um comando para bloquear a MP (Nao receber), e um para desbloquear (Receber novamente)

+rep.
Reply


Messages In This Thread
[Ajuda] Comando - by Luciano* - 20.05.2012, 16:52
Re: [Ajuda] Comando - by .FuneraL. - 20.05.2012, 17:03
Re : [Ajuda] Comando - by Luciano* - 20.05.2012, 17:14
Re: [Ajuda] Comando - by Jake_Dunlapp - 20.05.2012, 17:17
Re: [Ajuda] Comando - by mengueh - 20.05.2012, 18:08
Re : [Ajuda] Comando - by Luciano* - 22.05.2012, 00:14
Re: [Ajuda] Comando - by ViniBorn - 22.05.2012, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)