Advertisement
Guest User

lalalla

a guest
Mar 3rd, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. if(teamBlue[killerid] >= 1 && teamRed[playerid] >= 1)
  2. {
  3. new string[256];
  4. if(teamBlue[killerid] == 2) { ftext = "YAKUZA"; }
  5. else if(teamBlue[killerid] == 3) { ftext = "LA COSA NOSTRA"; }
  6. else if(teamBlue[killerid] == 4) { ftext = "GROVE STREET"; }
  7. else if(teamBlue[killerid] == 5) { ftext = "BALLAS"; }
  8. if(teamRed[playerid] == 2) { ztext = "YAKUZA"; }
  9. else if(teamRed[playerid] == 3) { ztext = "LA COSA NOSTRA"; }
  10. else if(teamRed[playerid] == 4) { ztext = "GROVE STREET"; }
  11. else if(teamRed[playerid] == 5) { ztext = "BALLAS"; }
  12. teamBlueKills[teamBlue[killerid]]++;
  13. format(string, 256, "~r~%s~w~ (%02d) // ~r~%s~w~ (%02d)", ztext, teamRedKills[teamRed[playerid]], ftext, teamBlueKills[teamBlue[killerid]]);
  14. for(new i=0; i<MAX_PLAYERS; i++) { if(Warteam[i] >= 1) { TextDrawSetString(Warur[i], string); } }
  15. PlayerInfo[playerid][pDeaths]++;
  16. }
  17. else if(teamRed[killerid] >= 1 && teamBlue[playerid] >= 1)
  18. {
  19. new string[256];
  20. if(teamBlue[killerid] == 2) { ftext = "YAKUZA"; }
  21. else if(teamBlue[killerid] == 3) { ftext = "LA COSA NOSTRA"; }
  22. else if(teamBlue[killerid] == 4) { ftext = "GROVE STREET"; }
  23. else if(teamBlue[killerid] == 5) { ftext = "BALLAS"; }
  24. if(teamRed[playerid] == 2) { ztext = "YAKUZA"; }
  25. else if(teamRed[playerid] == 3) { ztext = "LA COSA NOSTRA"; }
  26. else if(teamRed[playerid] == 4) { ztext = "GROVE STREET"; }
  27. else if(teamRed[playerid] == 5) { ztext = "BALLAS"; }
  28. teamRedKills[teamRed[killerid]]++;
  29. format(string, 256, "~r~%s~w~ (%02d) // ~r~%s~w~ (%02d)", ztext, teamRedKills[teamRed[killerid]], ftext, teamBlueKills[teamBlue[playerid]]);
  30. for(new i=0; i<MAX_PLAYERS; i++) { if(Warteam[i] >= 1) { TextDrawSetString(Warur[i], string); } }
  31. PlayerInfo[playerid][pDeaths]++;
  32. }
  33. SetPlayerColor(playerid, TEAM_HIT_COLOR);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement