Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - public OnPlayerDeath(playerid, killerid, reason)
 - {
 - new string[256];
 - new nomek[MAX_PLAYER_NAME];
 - new nomem[MAX_PLAYER_NAME];
 - GetPlayerName(killerid,nomek,MAX_PLAYER_NAME);
 - GetPlayerName(playerid,nomem,MAX_PLAYER_NAME);
 - if(X1W == 2 && GetPVarInt(killerid,"X1W") == 1 && GetPVarInt(playerid,"X1W") ==1){
 - if(killerid == INVALID_PLAYER_ID)
 - format(string, sizeof(string),"[X1W]---> %s Se Matou No X1 Walk ( /X1W )",nomem);
 - else
 - format(string, sizeof(string),"[X1W]---> %s Matou %s No X1 Walk ( /X1W )",nomek, nomem);
 - SendClientMessageToAll(green, string);
 - X1W = 0;
 - SetPVarInt(playerid,"X1W",0);
 - SetPVarInt(killerid,"X1W",0);
 - SetPVarInt(playerid,"Bloqueio",0);
 - SetPVarInt(killerid,"Bloqueio",0);
 - SpawnPlayer(killerid);
 - }
 - if(X1 == 2 && GetPVarInt(killerid,"X1") == 1 && GetPVarInt(playerid,"X1") ==1){
 - if(killerid == INVALID_PLAYER_ID)
 - format(string, sizeof(string),"[X1]---> %s Se Matou No X1 ( /X1 )",nomem);
 - else
 - format(string, sizeof(string),"[X1]---> %s Matou %s No X1 ( /X1)",nomek,nomem);
 - SendClientMessageToAll(green,string);
 - X1 = 0;
 - SetPVarInt(playerid,"x1",0);
 - SetPVarInt(killerid,"X1",0);
 - SetPVarInt(playerid,"Bloqueio",0);
 - SetPVarInt(killerid,"Bloqueio",0);
 - SpawnPlayer(killerid);
 - }
 - if(GetPVarInt(killerid,"SNP") ==1 && GetPVarInt(playerid,"SNP") ==1){
 - if(killerid == INVALID_PLAYER_ID)
 - format(string, sizeof(string),"[SNIPER]--->%s Se Matou no Combate SNIPER ( /SNP )",nomem);
 - else
 - format(string, sizeof(string),"[SNIPER]---> %s Matou %s No Combate SNIPER ( /SNP )",nomek,nomem);
 - SendClientMessageToAll(green,string);
 - SetPlayerArmour(killerid,100);
 - SetPlayerHealth(killerid,100);
 - GameTextForPlayer(killerid,"PARABENS",3000,3);
 - SendClientMessage(killerid,COLOR_ORANGE,"INFO: Você Recebeu Colete e Vida");
 - SetPVarInt(playerid,"SNP",0);
 - SetPVarInt(playerid,"Bloqueio",0);
 - }
 - SendDeathMessage(killerid,playerid,reason);
 - SetPlayerVirtualWorld(playerid,0);
 - SetPVarInt(playerid,"Bloqueio",0);
 - kstreak[killerid]++;
 - if (kstreak[killerid] == 10){
 - format(string,258,"Acho que %s esta querendo virar um(a) assanino(a) ja Matou 10 Pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COR_LARANJA,string);
 - SetPlayerWantedLevel(killerid,1);
 - }
 - if (kstreak[killerid] == 20){
 - format(string,258,"A carreira de assassino do(a) %s esta indo bem Ja Matou 20 pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COR_LARANJA,string);
 - SetPlayerWantedLevel(killerid,2);
 - }
 - if (kstreak[killerid] == 30){
 - format(string,258,"O(A) %s ja esta quase virando um matador Sangue frio Ja Matou 30 Pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COR_LARANJA,string);
 - SetPlayerWantedLevel(killerid,3);
 - }
 - if (kstreak[killerid] == 40){
 - format(string,258,"O(A) %s Ja virou um assassino Sangue frio Ja Matou 40 Pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COR_LARANJA,string);
 - SetPlayerWantedLevel(killerid,4);
 - }
 - if (kstreak[killerid] == 50){
 - format(string,258,"O(A) %s Esta para Virar um assassino profissional Ja Matou 50 Pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(killerid,5);
 - }
 - if (kstreak[killerid] == 60){
 - format(string,258,"O(A) %s Virou um(a) assassino(a) profissional Ja Matou 60 Pessoas",PlayerName(killerid),kstreak[killerid]);
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(killerid,6);
 - }
 - //=======================================================[Agora a reconpensa do player]=====================================================
 - if (kstreak[playerid] == 10){
 - format(string,258,"O Player %s Ganhou A recompensa de $10.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - GivePlayerMoney(killerid,10000);
 - }
 - if (kstreak[playerid] == 20){
 - format(string,258,"O Player %s Ganhou A recompensa de %20.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(playerid,0);
 - GivePlayerMoney(killerid,20000);
 - }
 - if (kstreak[playerid] == 30){
 - format(string,258,"O Player %s Ganhou A recompensa de $30.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(playerid,0);
 - GivePlayerMoney(killerid,30000);
 - }
 - if (kstreak[playerid] == 40){
 - format(string,258,"O Player %s Ganhou A recompensa de $40.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(playerid,0);
 - GivePlayerMoney(killerid,40000);
 - }
 - if (kstreak[playerid] == 50){
 - format(string,258,"O Player %s Ganhou A recompensa de $50.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(playerid,0);
 - GivePlayerMoney(killerid,50000);
 - }
 - if (kstreak[playerid] == 60){
 - format(string,258,"O Player %s Ganhou A recompensa de $60.000 Por Matar %s",PlayerName(killerid),PlayerName(playerid));
 - SendClientMessageToAll(COLOR_YELLOW,string);
 - SetPlayerWantedLevel(playerid,0);
 - GivePlayerMoney(killerid,60000);
 - }
 - if(killerid != INVALID_PLAYER_ID) {//se o cara der /kill nao vai perder a reconsa dele
 - kstreak[playerid] = 0;
 - }
 - return 1;
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment