Server Crashes people after a few minutes
#4

Quote:

Do you have numerous of timers repeating or w/e?

hm.. The payday timer. Auto.fix car timer, derby timer, speedometer and 1 timer for reset some of the objects in the derby maps, but only activate when u enter in the derby.

Quote:

Is OnPlayerUpdate returning values, and/or does it contain large amounts of scripts or never ending loops that could get tied up?

Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerSpeed(playerid) > 650)
         {
         if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
                 {
                    Cheater(playerid);
				 }
}
        return 1;
}
//******************************************
stock Cheater(playerid)
{
    new string[128], tt[MAX_PLAYER_NAME];
	GetPlayerName(playerid, tt, sizeof(tt));
	format(string, sizeof(string), "%s Car Swing", tt);
	SendClientMessageToAll(RED, string);
	Kick(playerid);
}
Код:
public OnPlayerUpdate(playerid)
{
        new string[128];
        new plneim[32];
        GetPlayerName(playerid, plneim, sizeof(plneim));
        if(GetPlayerPing(playerid) >= MAX_PING)
        {
                format(string, sizeof (string), "%s High Ping", plneim);
                SendClientMessageToAll(RED, string);
            	Kick(playerid);
        }
        return 1;
}
I have 2 times OnPlayerUpdate in 2 different Filterscripts. 1 in my gamemode checks the ping and 1 in my admin system checks the speed.


Quote:

Is there a missing include or folder that's required?

I've checked all folders. Everything is ok with them.

Quote:

Has it ever worked this script?

It's working, but i dont know how long that problem started.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)