Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new mato[256];
- new string[256];
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- new namekiller[MAX_PLAYER_NAME];
- GetPlayerName(killerid, namekiller, sizeof(pName));
- ResetPlayerWeapons(playerid);
- Block[playerid] = false;
- ccolete[playerid] = 0;
- steleporte[playerid] = 1;
- if (TaMinigun[playerid] == true)
- {
- GetPlayerName(killerid, nomeMG[killerid], 30);
- GetPlayerName(playerid, nomeMG2[playerid], 29);
- TaMinigun[killerid] = false;
- TaMinigun[playerid] = false;
- format(string, sizeof(string), " {FF0000}%s {ffffff}matou o {ff0000}%s {ff0000}no Minigun", nomeMG, nomeMG2);
- SendClientMessageToAll(COR_AMARELO, string);
- }
- if (jausocolete[playerid] == true && jausovida[playerid] == true)
- {
- jausocolete[playerid] = false;
- jausovida[playerid] = false;
- }
- if (bounty[playerid] > 0 && (GetPlayerTeam(killerid) == 0 || GetPlayerTeam(playerid) != GetPlayerTeam(killerid)))
- {
- format(string, sizeof(string), "Voce recebeu a recompensa de $%d por matar %s.", bounty[playerid], PlayerName(playerid));
- SendClientMessage(killerid, 0xfffffff, string);
- GivePlayerMoney(killerid, bounty[playerid]);
- bounty[playerid] = 0;
- }
- if (GetPlayerTeam(killerid) != GetPlayerTeam(playerid))
- {
- SendDeathMessage(killerid, playerid, reason);
- SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
- GetPlayerName(killerid, mato, 24);
- GivePlayerMoney(killerid, 1000);
- GivePlayerMoney(playerid, -500);
- psht[playerid] = 0;
- GivePlayerMoney(killerid, granastatus[playerid]);
- granastatus[killerid] = Matando[killerid] * 100;
- granastatus[playerid] = 0;
- PlayerInfo[killerid][pMatou]++;
- PlayerInfo[playerid][pMorreu]++;
- Matando[killerid]++;
- TogglePlayerSpectating(playerid, true);
- PlayerSpectatePlayer(playerid, killerid, 1);
- olhamane[playerid] = 1;
- GameTextForPlayer(playerid, "~p~ ] ~r~Aprende a jogar Noob! ~p~]", 7000, 3);
- SetTimerEx("OlhaAeQuemTeMatou", 7000, false, "d", playerid);
- }
- if (Matando[killerid] == 1)
- {
- format(string, 256, "MM - Mortes | %s tirou o pe da lama ja mandou um para a cova!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- granastatus[killerid] = 1000;
- format(string, 256, "[MATA-MORRE INFO]: Cada pessoa que %s matar a recompensa pela cabeça dele aumenta em Mil reais.", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- }
- else if (Matando[killerid] == 5)
- {
- format(string, 256, "MM - Mortes | %s ta tomando gosto pela coisa jamatou 5 sem piedade!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 10)
- {
- format(string, 256, "MM - Mortes | %s ta querendo virar um assassino profissional ja matou 10 negos!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 10000;
- format(string, 256, "Info Recompensas | 10 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 15)
- {
- format(string, 256, "MM - Mortes | Acho que %s e parente do Chuck Norris ja tirou a vida de 15 infelizes!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 20)
- {
- format(string, 256, "MM - Mortes | %s fez uma chasina em San Andreas ja matou 20 pessoas!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 20000;
- format(string, 256, "Info Recompensas | 20 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 25)
- {
- format(string, 256, "MM - Mortes | %s nao teve uma boa infancia ja matou 25 sem nenhuma compaixao!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 30)
- {
- format(string, 256, "MM - Mortes | Acho que %s e o Sylvester Stallone disfarïado ja mandou 30 para a cova!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 30000;
- format(string, 256, "Info Recompensas | 30 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 35)
- {
- format(string, 256, "MM - Mortes | %s ja matou 35, que isso? Ate eu estou com medo dele agora! O.o", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 40)
- {
- format(string, 256, "MM - Mortes | %s ja matou 40, puts esse cara e o Demo em pessoa!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 40000;
- format(string, 256, "Info Recompensas | 40 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 45)
- {
- format(string, 256, "MM - Mortes | %s simplesmente ja mandou 45 para a cova! lol", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 50)
- {
- format(string, 256, "MM - Mortes | Eu sei que eu sou um robo e robos nao sentem medo, mais fala serio, %s ja matou 50!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 50000;
- SendClientMessageToAll(0x88FF9FAA, "E se ele resolve me da um Curto Circuito? O.o");
- format(string, 256, "Info Recompensas | 50 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 55)
- {
- format(string, 256, "MM - Mortes | Caramba %s ja matou 55 players, so pode esta possuido mesmo!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 60)
- {
- format(string, 256, "MM - Mortes | Meu Deus!!! Matar deve ser a maior diversao do %s o cara ja matou 60 alguem para ele por favor!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 60000;
- format(string, 256, "Info Recompensas | 60 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 65)
- {
- format(string, 256, "MM - Mortes | Alguem tem papel ai? Acabei de me borrar todo de medo! %s ja matou 65! To todo cagado! O.o", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 70)
- {
- format(string, 256, "MM - Mortes | %s e um pissicopata ja tirou a vida de 70 pessoas! Alguem mata ele por favor!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 70000;
- format(string, 256, "Info Recompensas | 70 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 75)
- {
- format(string, 256, "MM - Mortes | Poha 75 ja e de mais! Para um poco de matar %s ... Voce ja passou dos limites!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 80)
- {
- format(string, 256, "MM - Mortes | %s paraaaaaa! Vou ter que chamar o Exercito e a Swat para tentar te matar seu infeliz!", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 80000;
- SendClientMessage(killerid, 0x88FF9FAA, "Tu ja matou 80 players!");
- format(string, 256, "Info Recompensas | 80 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 85)
- {
- format(string, 256, "MM - Mortes | Todos que estao usando o skin do Exercito ou da Swat peguem o %s esse FDP ja matou 85!!! _|_", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 90)
- {
- format(string, 256, "MM - Mortes | Puta que pariu! %s ja matou 90 vai matar assim na Puta que te pariu! =X", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 90000;
- SendClientMessageToAll(0x88FF9FAA, "(Robos tambem se estressam.)");
- format(string, 256, "Info Recompensas | 90 Mil reais para quem matar %s!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 95)
- {
- format(string, 256, "MM - Mortes | Ninguem para esse cara ae??? ahh.. %s ja matou simplesmente 95 players! O.o", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- }
- else if (Matando[killerid] == 100)
- {
- format(string, 256, "MM - Mortes | %s voce passou dos limites! Tu ja matou 100 pessoas cara! Me aposento...", namekiller);
- SendClientMessageToAll(0x59E000AA, string);
- granastatus[killerid] = 100000;
- SendClientMessageToAll(0x88FF9FAA, " Apartir de agora nao anuncio mais suas vitimas.Robo fail mato de mais lol");
- format(string, 256, "Info Recompensas | 100 Mil reais para quem matar %s! lol", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- else if (Matando[killerid] == 1000)
- {
- format(string, 256, "MM - Mortes | Para tudo!!! Agora eu vou anunciar que %s matou simplesmente Mil pessoas! Ele bateu o Record!!!", namekiller);
- SendClientMessageToAll(0xFFF208AA, string);
- granastatus[killerid] = 1000000;
- SendClientMessageToAll(0x88FF9FAA, "NAO e falha no sistema... Ele matou Mil mesmo! Nao e 100 nem 200! sao Mil!!! Todos pra cima dele! Goo Goo!!!");
- format(string, 256, "Info Recompensas | 1 Milhão de reais para quem matar %s! Peguem ele!!! eh muita grana!!!", namekiller);
- SendClientMessageToAll(0x6F6FFF96, string);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement