Anti Unfreeze
#3

I've done it like that. All that code in 1s timer with player loop.

Code:
                        if(pInfo[playerid][player_freeze] > 0)
			{
				if(GetPlayerSpeed(playerid) > 2)
				{
					pInfo[playerid][player_cheat_warns]++;
				}
			}

                        if( pInfo[playerid][player_cheat_warns]>3)
			{
				Kick(playerid);
				continue;
			}
You can also do it without warnings, just kick for first time, but player for example can be pushed by vehicle so warning method is better.
Reply


Messages In This Thread
Anti Unfreeze - by xxxSpeedxxx - 13.02.2017, 22:11
Re: Anti Unfreeze - by morris91 - 13.02.2017, 22:16
Re: Anti Unfreeze - by Rdx - 14.02.2017, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)