SA-MP Forums Archive
[Ajuda] Exibir mensagem ao player matar x pessoas - 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] Exibir mensagem ao player matar x pessoas (/showthread.php?tid=358523)



Exibir mensagem ao player matar x pessoas - [XPG]MarlonCS - 10.07.2012

Como faзo para exibir uma mensagem quando o player matar 10 pessoas.

Por exemplo, o player matou 10. Ai mostra uma mensagem:

Код:
[XPG]MarlonCS jб matou a 10 pessoas.



Re: Exibir mensagem ao player matar x pessoas - zbt - 10.07.2012

new quantidade[MAX_PLAYERS];

//onplayerdeath
quantidade[killerid] ++;
if(quantidade[killerid] == 10)
{
//mensagem.


Re: Exibir mensagem ao player matar x pessoas - [XPG]MarlonCS - 10.07.2012

vlw