Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Hunter.# poslato Maj 26, 2019, 10:16:56 PRE PODNE

Naslov: Server pada kad neko previse puca
Poruka od: Hunter.# poslato Maj 26, 2019, 10:16:56 PRE PODNE
Problem(error/warning): Kad neko puca u auto ili previse ako puca server padne updateovao sam CrashDetect plugin i dodao sam SKY plugin ali ponovo pada
Deo skripte: NEMA
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): NEMA
Slika/video ingame problema(obavezno ako je ingame problem): NEMA
Naslov: Odg: Server pada kad neko previse puca
Poruka od: bunta poslato Maj 26, 2019, 10:40:46 PRE PODNE
Posto imas SKY plugin. jel imas include weapon-config?
Naslov: Odg: Server pada kad neko previse puca
Poruka od: Hunter.# poslato Maj 26, 2019, 11:52:27 PRE PODNE
Citat: (っâ—"â—¡â—")っ ♥ bunta ♥ poslato Maj 26, 2019, 10:40:46 PRE PODNE
Posto imas SKY plugin. jel imas include weapon-config?
Nemam,sky plugin sad izbacio
Naslov: Odg: Server pada kad neko previse puca
Poruka od: Hunter.# poslato Maj 26, 2019, 11:53:37 PRE PODNE
Citat: (っâ—"â—¡â—")っ ♥ bunta ♥ poslato Maj 26, 2019, 10:40:46 PRE PODNE
Posto imas SKY plugin. jel imas include weapon-config?
I brate aj molim te pomogni mi kad se War zaustavi,a ja sam npr u kuci i to me vrati na staru poziciju nemogu da izadjem iz kuce zasto? I ovo je za svaki interijer
Evo WAR TIMER:

forward WarTimeR();
public WarTimeR()
{
   foreach(Player, i)
   {
      if(PlayerInfo[pWar] > 0)
      {
         new Float: oldpos[4], oldint;
         oldpos[0] = GetPVarFloat(i, PVAR_TAG"oldX");
         oldpos[1] = GetPVarFloat(i, PVAR_TAG"oldY");
         oldpos[2] = GetPVarFloat(i, PVAR_TAG"oldZ");
         oldpos[3] = GetPVarFloat(i, PVAR_TAG"oldR");
         oldint = GetPVarInt(i, PVAR_TAG"oldInt");
         SetPlayerPos(i, oldpos[0], oldpos[1], oldpos[2]);
         SetPlayerFacingAngle(i, oldpos[3]);
         SetPlayerInterior(i, oldint);
         DeletePVar(i, PVAR_TAG"oldX");
         DeletePVar(i, PVAR_TAG"oldY");
         DeletePVar(i, PVAR_TAG"oldZ");
         DeletePVar(i, PVAR_TAG"oldR");
         DeletePVar(i, PVAR_TAG"oldInt");
         ResetPlayerWeapons(i);
         SetPlayerVirtualWorld(i, 0);
         SetPlayerSkin(i, PlayerInfo[pSkin]);
         PlayerInfo[pWar] = 0;
         WarZapocet = 0;
         KillTimer(wartd);
         TextDrawHideForPlayer(i, TDwar0);
          TextDrawHideForPlayer(i, TDwar1);
          TextDrawHideForPlayer(i, TDwar2);
          TextDrawHideForPlayer(i, TDwar3);
          TextDrawHideForPlayer(i, TDwar4);
          TextDrawHideForPlayer(i, TDwar5);
          TextDrawHideForPlayer(i, TDwar6);
      }
   }
   new string[128];
   format(string,sizeof(string),""BELA"[BC:WAR] "SPLAVA"War je zavrsen rezultatom "BELA"| Tim 1 : "SPLAVA"%d "BELA"|| Tim 2 : "SPLAVA"%d "BELA"|",WarBrojanje1,WarBrojanje2);
   SCMTA(-1,string);
   WarBrojanje1 = 0;
   WarBrojanje2 = 0;
   return 1;
}