Ocean Crashes Server
#6

Quote:
Originally Posted by maij
world boundries do not help on this bug, i have a certain code that programmaticly allows me airbreak, AND setting the speed.

now i "accidently" put the speed to 99999, so out of world boundries.

i know exactly what u mean, and its crazy, i needed to reset my whole account because of that..

just 1 thing i am curious to, why does it crashes ur whole server? the bug only effects the person who is actualy over there.

what u can do, is creating a teleport command to teleport someone to somewhere on the map, with a check of coordinates.

for the rest, there is no way to fix it besides the samp server builders fix it, or san andreas itself fix it. and i cant imagine rockstarr doing that.
No, it's just you or your script, i tried this with speedhack for like 30 minutes, and no crash at all.

Try this code:

pawn Код:
forward CheckPlayerWorldBounderys();

public OnGameModeInit()
{
   SetTimer(CheckPlayerWorldBounderys, 1000, true);
   return 1;
}

public CheckPlayerWorldBounderys()
{
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
     new Float:x, Float:y, Float:z;
     GetPlayerPos(i, x, y, z);
     if(x >= 20000 || y >= 20000)
     {
        Kick(playerid);
     }
   }
   return 1;
}
Reply


Messages In This Thread
Ocean Crashes Server - by Blacklite - 27.04.2009, 07:05
Re: Ocean Crashes Server - by Harry_Gaill - 27.04.2009, 07:08
Re: Ocean Crashes Server - by SpiderPork - 27.04.2009, 07:32
Re: Ocean Crashes Server - by HB - 27.04.2009, 07:58
Re: Ocean Crashes Server - by maij - 27.04.2009, 08:31
Re: Ocean Crashes Server - by Andom - 27.04.2009, 11:03
Re: Ocean Crashes Server - by maij - 27.04.2009, 12:19
Re: Ocean Crashes Server - by Andom - 27.04.2009, 16:25
Re: Ocean Crashes Server - by Blacklite - 18.05.2009, 21:12
Re: Ocean Crashes Server - by Michael[NBK] - 25.10.2011, 02:20

Forum Jump:


Users browsing this thread: 3 Guest(s)