SA-MP Forums Archive
[Ajuda] SendDeathMessage(killerid,playerid,reason); - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] SendDeathMessage(killerid,playerid,reason); (/showthread.php?tid=468278)



SendDeathMessage(killerid,playerid,reason); - Duduzinho - 07.10.2013

Bom Dia Galera do samp forum tou aqui querendo saber se tem como eu fazer quando um player tiver no evento essas Mensagem Desaparecer

Код:
SendDeathMessage(killerid,playerid,reason);
O Chat do Death Kill que fica do ladoo bla....

Entao queria fazer que quando um player For no evento desestabilizar esse Chat Kill
e quando o player sair do evento aparecer novamente?


Re: SendDeathMessage(killerid,playerid,reason); - Petrick™ - 07.10.2013

Cara eu acho que nгo tem como nгo..


Re: SendDeathMessage(killerid,playerid,reason); - Duduzinho - 07.10.2013

Quote:
Originally Posted by petrick_schoba
Посмотреть сообщение
Cara eu acho que nгo tem como nгo..
Sera acho que nao neh por que e funзao do Propio Samp Ou sla!


Re: SendDeathMessage(killerid,playerid,reason); - Falcon. - 07.10.2013

Nгo й possнvel por parte do servidor, somente o cliente pressionando F9.


Re: SendDeathMessage(killerid,playerid,reason); - Duduzinho - 07.10.2013

Quote:
Originally Posted by petrick_schoba
Посмотреть сообщение
Cara eu acho que nгo tem como nгo..
Quote:
Originally Posted by Falcon.
Посмотреть сообщение
Nгo й possнvel por parte do servidor, somente o cliente pressionando F9.
йййй Vlw !


Re: SendDeathMessage(killerid,playerid,reason); - RuanRider - 07.10.2013

pawn Код:
new bool:TaNoEvento[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    if (!TaNoEvento[playerid] == true) {
        SendDeathMessage(killerid,playerid,reason);
        // funзхes onplayerdeath
    }
    return 1;
}
tenta.. coloca no /evento ou slб oq:

pawn Код:
TaNoEvento[playerid] = true;



Re: SendDeathMessage(killerid,playerid,reason); - ThuuGLif3 - 07.10.2013

Apague a Opзгo SendDeathMessage

https://sampwiki.blast.hk/wiki/SendDeathMessage



Re: SendDeathMessage(killerid,playerid,reason); - Petrick™ - 07.10.2013

Quote:
Originally Posted by ThuuGLif3
Посмотреть сообщение
Apague a Opзгo SendDeathMessage

https://sampwiki.blast.hk/wiki/SendDeathMessage
Se ele pagar o SendDeathMessage ira deletar o chatkill do servidor, ele sу estб querendo uma informaзгo se tem como desativar o chatkill durante o evento.


Re: SendDeathMessage(killerid,playerid,reason); - Petrick™ - 07.10.2013

Quote:
Originally Posted by RuanRider
Посмотреть сообщение
pawn Код:
new bool:TaNoEvento[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    if (!TaNoEvento[playerid] == true) {
        SendDeathMessage(killerid,playerid,reason);
        // funзхes onplayerdeath
    }
    return 1;
}
tenta.. coloca no /evento ou slб oq:

pawn Код:
TaNoEvento[playerid] = true;
Isso nгo ira dar certo, SendDeathMessage Й uma funзгo nativa do SA-MP sу pressionado o F9 Para desativar ela dentro do servidor.


Re: SendDeathMessage(killerid,playerid,reason); - Duduzinho - 07.10.2013

Quote:
Originally Posted by ThuuGLif3
Посмотреть сообщение
Apague a Opзгo SendDeathMessage

https://sampwiki.blast.hk/wiki/SendDeathMessage
Quote:
Originally Posted by petrick_schoba
Посмотреть сообщение
Se ele pagar o SendDeathMessage ira deletar o chatkill do servidor, ele sу estб querendo uma informaзгo se tem como desativar o chatkill durante o evento.
Quote:
Originally Posted by Duduzinho
Посмотреть сообщение
Leia meu topico nao quero apagar a Opзao SendDeath..... quero que ela se desabilite e abelite novamente!



COrreto
Quote:
Originally Posted by petrick_schoba
Посмотреть сообщение
Isso nгo ira dar certo, SendDeathMessage Й uma funзгo nativa do SA-MP sу pressionado o F9 Para desativar ela dentro do servidor.
KKK neh Cada Coisa que eu vejo ( Ironia: Cada Codigo que eu vejo ) -q kk