Jump to content

alexredd

Membru
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. alexredd's post in Problema la compilare eroare 217 was marked as the answer   
    // PAYDAY SAVE if(PlayerInfo[playerid][pWantedLevel] >= 1) { new price = PlayerInfo[playerid][pWantedLevel] * 1000; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsACop(i) && CrimInRange(30.0, playerid,i)) { new string[512]; new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[playerid][pJailed] = 1; PlayerInfo[playerid][pJailTime] = (PlayerInfo[playerid][pWantedLevel])*(150); format(string, sizeof(string), "Dispecer: %s a intrat in jail [%d puncte wanted] deoarece a folosit comanda /quit in perimetrul unui politist!", sendername, PlayerInfo[playerid][pWantedLevel]); SendRadioMessage(1, TEAM_BLUE_COLOR, string); SendRadioMessage(2, TEAM_BLUE_COLOR, string); SendRadioMessage(3, TEAM_BLUE_COLOR, string); format(string, sizeof(string), "Jucatorul %s a intrat in jail (posibil /quit cu wanted) si ai primit %s$!", sendername, FormatNumber(price)); SCM(i, COLOR_WHITE, string); GivePlayerCash(i, price); GivePlayerCash(playerid, -price); WantedPoints[playerid] = 0; PlayerInfo[playerid][pWantedLevel] = 0; SetPlayerWantedLevel(playerid, 0); Update(playerid,pWantedLevelx); Update(playerid,pJailedx); Update(playerid,pJailTimex); Update(i, pCashx); Update(playerid, pCashx); } } } if(JoinedDeathMatch[playerid] > 0) // linia 5448 { if(JoinedDeathMatch[playerid] == 2) { if(Echipa2 > 0) { Echipa2 -= 1; } } else if(JoinedDeathMatch[playerid] == 1) { if(Echipa1 > 0) { Echipa1 -= 1; } } }POFTIM!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.