SirFulgeruL Posted August 6, 2015 Posted August 6, 2015 (edited) Problema intalnita (descriere):Probleme spatiiEro(area / rile) / warning-(ul / urile): C:\Users\SirFulgeruL\Desktop\samp server\SERVER.UNNIC\SERVER.UNNIC\pawno\yq10571.pwn(5448) : warning 217: loose indentationC:\Users\SirFulgeruL\Desktop\samp server\SERVER.UNNIC\SERVER.UNNIC\pawno\yq10571.pwn(6513) : warning 217: loose indentationC:\Users\SirFulgeruL\Desktop\samp server\SERVER.UNNIC\SERVER.UNNIC\pawno\yq10571.pwn(6514) : warning 217: loose indentationC:\Users\SirFulgeruL\Desktop\samp server\SERVER.UNNIC\SERVER.UNNIC\pawno\yq10571.pwn(6515) : warning 217: loose indentationC:\Users\SirFulgeruL\Desktop\samp server\SERVER.UNNIC\SERVER.UNNIC\pawno\yq10571.pwn(6663) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Warnings.Liniile de cod / sursa / script-ul(obligatoriu):Linia 5448: // 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; } } }[/code]Imagini / Video (optional):Ati incercat sa rezolvati singur?: Edited August 6, 2015 by SirFulgeruL
0 alexredd Posted August 6, 2015 Posted August 6, 2015 // 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! 1
0 SirFulgeruL Posted August 8, 2015 Author Posted August 8, 2015 // 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!Ma nigga :((
Question
SirFulgeruL
Problema intalnita (descriere):Probleme spatii
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
Linia 5448:
Edited by SirFulgeruL
2 answers to this question
Recommended Posts