Problem oko crash-a

Započeo Nodze, Avgust 13, 2017, 00:56:50 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Ghost Town
Detaljan opis problema: Ovako kad pucam igraca i odma me crasha nakon 2 3 sec, ne znam do cega je.
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Poslednja Izmena: Avgust 13, 2017, 00:58:32 PRE PODNE od Nodze

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )


Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )


Ubaci AntiCrash.   ;D
Big Respect to: Captain Foux, Muma420, Hrustanovic & Basovski


Imal ko kakav anticrash  :(

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )


Jel ti crasha server ili tebi crasha San Andreas?

Citat: Stifler ãƒ,, poslato Avgust 13, 2017, 14:33:19 POSLE PODNE
Jel ti crasha server ili tebi crasha San Andreas?
Procitaj ljepo i nema potrebe da skupljas postove kad sam mu dao link  :-*

Citat: Ceta poslato Avgust 13, 2017, 14:46:24 POSLE PODNE
Citat: Stifler ãƒ,, poslato Avgust 13, 2017, 14:33:19 POSLE PODNE
Jel ti crasha server ili tebi crasha San Andreas?
Procitaj ljepo i nema potrebe da skupljas postove kad sam mu dao link  :-*

Greska,ja sam se sjebao hahaha nisam lijepo procitao,mislim sam da mu govoris da ubaci crashdetect,sry : :-X :'( :-[ :P


EDIT: Cisto sumnjam da ce mu i AntiCrasher pomoci,najbolje je da reinstall San Andreas
Poslednja Izmena: Avgust 13, 2017, 15:11:34 POSLE PODNE od Stifler ツ

Citat: Stifler ãƒ,, poslato Avgust 13, 2017, 15:08:23 POSLE PODNE
Citat: Ceta poslato Avgust 13, 2017, 14:46:24 POSLE PODNE
Citat: Stifler ãƒ,, poslato Avgust 13, 2017, 14:33:19 POSLE PODNE
Jel ti crasha server ili tebi crasha San Andreas?
Procitaj ljepo i nema potrebe da skupljas postove kad sam mu dao link  :-*

Greska,ja sam se sjebao hahaha nisam lijepo procitao,mislim sam da mu govoris da ubaci crashdetect,sry : :-X :'( :-[ :P


EDIT: Cisto sumnjam da ce mu i AntiCrasher pomoci,najbolje je da reinstall San Andreas
Ma nek skine cleo ubaci ovaj anticrasher i tj to meni radi ne crasha me

Ma ne crasha Gta nego svima crasha kad pucaju u auto , a sredio sam ovo kad se likovi pucaju, sad samo ovo nesta,
pise you are banned server
a na gpanelu pokazuje nesta debug onplayerdeath    i ovo  [20:01:15] [warning] client exceeded 'ackslimit' 178.223.130.189:25081 (7006) Limit: 3000/sec

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )


Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )



public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerArmour(playerid, 0);
    DisablePlayerCheckpoint(playerid);
    KillTimer(VuciTimer[playerid]);
   PosaoGPS[playerid] = 0;
   if(!Policajac(playerid))
   {
      new Float:Xx,Float:Yy,Float:Zz;
      GetPlayerPos(playerid, Xx, Yy, Zz);
      DropGun(playerid, GetPlayerWeapon(playerid),GetPlayerAmmo(playerid),Xx,Yy,Zz,GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid));
    }
   if(killerid != INVALID_PLAYER_ID) // Valid killer, give cash+score
    {
      PlayerInfo[killerid][pUbistava]++; PlayerInfo[playerid][pSmrti]++;
      RajsevaResetPlayerWeapons(playerid); ResetujVar(playerid);
    }
    ////////////////////////////////////////////////////////////
    if(killerid != INVALID_PLAYER_ID) // Valid killer, give cash+score
    {
      if(IgracPolicajac(killerid))
      {
         PlayerInfo[killerid][pTrazeniLevel] = 0;
         SetPlayerColor(playerid, 0x2641FEAA);
      }
    }
   ////////////////////////////////////////////////////////////
   if(!IgracPolicajac(killerid) && IsPlayerConnected(playerid))
   {
       if(PlayerInfo[killerid][Tim1] > 0) return 1;
       if(PlayerInfo[killerid][Tim1] > 2) return 1;
      if(killerid != INVALID_PLAYER_ID) // Valid killer, give cash+score
      {

         PostaviWanted(killerid, "Ubistvo", "Nepoznat", 6);
      }
    }
   ////////////////////////////////////////////////////////////
   if(PlayerInfo[killerid][pTrazeniLevel] > 1000)
   {
      PlayerInfo[killerid][pTrazeniLevel] = 1000;
   }
   if((!Policajac(killerid) && PlayerInfo[killerid][pUfbi] == 1) && Policajac(playerid))
    {
      new rand = random(sizeof(RandomZatvor));
      SetPlayerPos(killerid, RandomZatvor[rand][0], RandomZatvor[rand][1], RandomZatvor[rand][2]);
      SetPlayerInterior(killerid, 0);
      TogglePlayerControllable(killerid, 0);
      freeze[killerid] = SetTimerEx("Freeze",5000, false, "i", killerid);
      PlayerInfo[killerid][pZatvor] = 2;
      PlayerInfo[killerid][pZatvorenVreme] = 30*60;
      new string[256];
      format(string, sizeof(string), ""CRVENA"SPAWN-KILL: Zatvoreni ste u zatvor na 30 minuta zbog SK!.");
      SCM(killerid, -1, string);
      format(string,sizeof(string), ""CRVENA"SK: "SIVA"Igrac %s (ID:%d) je uradio SK nad igracem %s (ID:%d) i zatvoren je na 30 minuta!", GetName(killerid), killerid, GetName(playerid), playerid);
       AdminGameMaster(-1, string);
    }
   ////////////////////////////////////////////////////////////
   if(PlayerInfo[playerid][pTrazeniLevel] > 0)
   {
       new string[256];
      g_NovacMinus(playerid, PlayerInfo[playerid][pTrazeniLevel]*3000);
      SCMF(playerid, -1, "Ubijeni ste! Gubite %d$ zbog umiranja sa wanted level-om "CRVENA"%d!", PlayerInfo[playerid][pTrazeniLevel]*1500, PlayerInfo[playerid][pTrazeniLevel]);
       PlayerInfo[playerid][pTrazeniLevel] = 0;
      format(string,sizeof(string),""PLAVA"OBAVESTENJE:{FFFFFF}Svim jedniciama, gradjanin %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
      CFBIPD(-1, string);
      SetPlayerColor(playerid, BELA2);
    }
    ////////////////////////////////////////////////////////////
   if(IsPlayerConnected(killerid) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
   {
       new string[256];
      format(string,sizeof(string), ""CRVENA"DRIVE-BY: "SIVA"Igrac %s (ID:%d) je uradio Drive By nad igracem %s (ID:%d)!", GetName(killerid), killerid, GetName(playerid), playerid);
       AdminGameMaster(-1, string);
       SetPlayerColor(killerid, COLOR_RED);
   }
   ////////////////////////////////////////////////////////////
   if(IsPlayerConnected(killerid) && PlayerInfo[playerid][pLevel] >= 1)
   {
       new string[256];
      format(string,sizeof(string), ""CRVENA"A-KILL: "SIVA"Igrac %s (ID:%d) je ubio igraca %s (ID:%d)", GetName(killerid), killerid, GetName(playerid), playerid);
      AdminGameMaster(-1, string);
      if(!Policajac(killerid))
      {
         SetPlayerColor(killerid, COLOR_RED);
      }
      if(PlayerInfo[playerid][pNarucen] == 1 && (PlayerInfo[killerid][pClan] == 10 || PlayerInfo[killerid][pLider] == 10))
      {
         g_NovacPlus(killerid, 17000);
         SCM(killerid,-1,""SRWBOJA"(( NCRPG )) {FFFFFF}Ubili ste trazenog igraca i dobili 17 000 $!");
         PlayerInfo[killerid][pTrazeniLevel] = 0;
         SetPlayerColor(killerid, BELA2);
         PlayerInfo[playerid][pNarucen] = 0;
         format(string,sizeof(string),""SRWBOJA"UBISTVO: {FFFFFF}Placeni ubica je ubio %s i izvrsio svoj zadatak!", GetName(playerid));
         SCMTA(-1,string);
      }
   }
   ////////////////////////////////////////////////////////////
   if(gPlayerUsingLoopingAnim[playerid])
   {
      gPlayerUsingLoopingAnim[playerid] = 0;
   }

   if(InCP[playerid][Ganton] == 1)
   {
       KillTimer(g_timer[playerid][Ganton]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Ganton] = 0;
   }
   if(InCP[playerid][Glen] == 1)
   {
       KillTimer(g_timer[playerid][Glen]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Glen] = 0;
   }
   if(InCP[playerid][Colinas] == 1)
   {
       KillTimer(g_timer[playerid][Colinas]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Colinas] = 0;
   }
   if(InCP[playerid][Vinewood] == 1)
   {
       KillTimer(g_timer[playerid][Vinewood]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Vinewood] = 0;
   }
   if(InCP[playerid][Mulholland] == 1)
   {
       KillTimer(g_timer[playerid][Mulholland]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Mulholland] = 0;

    }
   if(InCP[playerid][Corona] == 1)
   {
       KillTimer(g_timer[playerid][Corona]);
      KillTimer(CountTime[playerid]);
      UnderAttack[Corona] = 0;
   }
   ////////////////////////////////////////////////////////////
   if(reason == 22)
   {
      if(PlayerInfo[killerid][pPistSkill] >= 0 && PlayerInfo[killerid][pPistSkill] <= 999)
      {
          PlayerInfo[killerid][pPistSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }
   if(reason == 23)
   {
      if(PlayerInfo[killerid][pSilenSkill] >= 0 && PlayerInfo[killerid][pSilenSkill] <= 999)
      {
          PlayerInfo[killerid][pSilenSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }
   if(reason == 24)
   {
      if(PlayerInfo[killerid][pDesertSkill] >= 0 && PlayerInfo[killerid][pDesertSkill] <= 999)
      {
          PlayerInfo[killerid][pDesertSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }
   if(reason == 25)
   {
      if(PlayerInfo[killerid][pShotgSkill] >= 0 && PlayerInfo[killerid][pShotgSkill] <= 999)
      {
          PlayerInfo[killerid][pShotgSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }
   if(reason == 26)
   {
      if(PlayerInfo[killerid][pSawnSkill] >= 0 && PlayerInfo[killerid][pSawnSkill] <= 999)
      {
          PlayerInfo[killerid][pSawnSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }
   if(reason == 27)
   {
      if(PlayerInfo[killerid][pCombSkill] >= 0 && PlayerInfo[killerid][pCombSkill] <= 999)
      {
          PlayerInfo[killerid][pCombSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }

   if(reason == 28 || reason == 32)
   {
      if(PlayerInfo[killerid][pUziSkill] >= 0 && PlayerInfo[killerid][pUziSkill] <= 999)
      {
          PlayerInfo[killerid][pUziSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }

   if(reason == 29)
   {
      if(PlayerInfo[killerid][pSmgSkill] >= 0 && PlayerInfo[killerid][pSmgSkill] <= 999)
      {
          PlayerInfo[killerid][pSmgSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }

   if(reason == 30)
   {
      if(PlayerInfo[killerid][pAkSkill] >= 0 && PlayerInfo[killerid][pAkSkill] <= 999)
      {
          PlayerInfo[killerid][pAkSkill] += 3;
          SetPlayerSkills(killerid);
      }
   }

   if(reason == 31)
   {
      if(PlayerInfo[killerid][pM4Skill] >= 0 && PlayerInfo[killerid][pM4Skill] <= 999)
      {
          PlayerInfo[killerid][pM4Skill] += 3;
          SetPlayerSkills(killerid);
      }
      //==========================================================================
   if(PlayerInfo[playerid][Tim1] == 0 && PlayerInfo[playerid][Tim2] == 0)//DAKLE ZA BOLNICU I OVAJ CRNI TD DODAJ SAMO OVO LIJEVO I ZAGRADE,ISTO TO STAVI POD ONO DAVANJE WANTED LEVELA
    {
   //UBolnicu[playerid] = 1;
   PlayerTextDrawShow(playerid,crniekran[playerid]);
   SetTimerEx("StaviProzirno", 10000,false,"i",playerid);
   }

      new str[200];
       if(PlayerInfo[killerid][Tim1] == 1)
       {
          if(PlayerInfo[playerid][Tim2] == 1)
          {
             tim2b += 1;
             format(str,sizeof(str),"{AF19B1}WAR | %s je ubio %s | BODOVA +1",GetName(killerid),GetName(playerid));
          }
      }
      if(PlayerInfo[killerid][Tim2] == 1)
      {
           if(PlayerInfo[playerid][Tim1] == 1)
          {
             tim1b += 1;
             format(str,sizeof(str),"{AF19B1}WAR | %s je ubio %s | BODOVA +1",GetName(killerid),GetName(playerid));
          }
      }
      if(PlayerInfo[killerid][Tim1] == 1)
       {
          if(PlayerInfo[playerid][Tim1] == 1)
          {
              if(PlayerInfo[killerid][pLider] >= 1)
              {
             tim2b -= 2;
             format(str,sizeof(str),"{AF19B1}WAR | Lider %s je ubio %s | BODOVA -2 | TEAM KILL",GetName(killerid),GetName(playerid));
             }
             else
             {
             tim2b -= 1;
             format(str,sizeof(str),"{AF19B1}WAR | %s je ubio %s | BODOVA -1 | TEAM KILL",GetName(killerid),GetName(playerid));
               }
          }
      }
      if(PlayerInfo[killerid][Tim2] == 1)
      {
           if(PlayerInfo[playerid][Tim2] == 1)
          {
              if(PlayerInfo[killerid][pLider] >= 1)
              {
             tim1b -= 2;
             format(str,sizeof(str),"{AF19B1}WAR | Lider %s je ubio %s | BODOVA -2 | TEAM KILL",GetName(killerid),GetName(playerid));
             }
             else
             {
             tim1b -= 1;
             format(str,sizeof(str),"{AF19B1}WAR | %s je ubio %s | BODOVA -1 | TEAM KILL",GetName(killerid),GetName(playerid));
               }
          }
      }
       for(new i = 0; i < MAX_PLAYERS; i++)
       {
               new stringasa[50];
              if(PlayerInfo[Tim2] == 1)
             {
             SendClientMessage(i,GRAD2,str);
             format(stringasa, sizeof(stringasa), "TIM1 : %d", tim1b);
             TextDrawSetString(waric1, stringasa);
             format(stringasa, sizeof(stringasa), "TIM2 : %d", tim2b);
             TextDrawSetString(waric2, stringasa);
             TextDrawShowForPlayer(i,waric1);
             TextDrawShowForPlayer(i,waric2);
             }
              if(PlayerInfo[Tim1] == 1)
             {
             SendClientMessage(i,GRAD2,str);
             format(stringasa, sizeof(stringasa), "TIM1 : %d", tim2b);
             TextDrawSetString(waric1, stringasa);
             format(stringasa, sizeof(stringasa), "TIM2 : %d", tim1b);
             TextDrawSetString(waric2, stringasa);
             TextDrawShowForPlayer(i,waric1);
             TextDrawShowForPlayer(i,waric2);
             }
       }
  }
    return 1;
}

encode_tires(tire1, tire2, tire3, tire4) return tire1 | (tire2 << 1) | (tire3 << 2) | (tire4 << 3);

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )