SA-MP Forums Archive
Need help to Fix Anti Sobiet Fly hack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help to Fix Anti Sobiet Fly hack (/showthread.php?tid=567468)



Need help to Fix Anti Sobiet Fly hack - MBilal - 14.03.2015

Код:
  		new Float:animX, Float:animY, Float:animZ;
		new anim = GetPlayerAnimationIndex(i);
		GetPlayerPos(i, animX, animY, animZ);
		if((anim >= 1538) && (anim <= 1542) && animZ > 5 )
		{
		if(!IsPlayerInRangeOfPoint(i, 50.0,-607.6102,2167.9099,40.0407) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-864.9051,2163.2908,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-963.2916,2451.0042,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-1073.5398,2686.9316,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-1133.2911,2776.9795,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-937.1145,2678.2732,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-1182.6296,2164.0837,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-1305.4430,2113.1953,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,-1369.6489,2114.4470,40.4246) ||
		!IsPlayerInRangeOfPoint(i, 50.0,2021.3466,1673.1593,8.0484) ||
		!IsPlayerInRangeOfPoint(i, 50.0,2143.2383,1285.6169,7.9766) ||
		!IsPlayerInRangeOfPoint(i, 50.0,2101.0918,1910.8403,9.0792 ))
		{
			Ban(i);
		}
		}
but the ranges are not working i want wil not ban in these ranges because there are some location in Sanandreas where water level is high For Example Dam and LV Casino water some other they are at high location as compare to the other water level so when player swim there he get ban. but these ranges are not working.


Re: Need help to Fix Anti Sobiet Fly hack - MBilal - 14.03.2015

sory for bumping any budy fix this why player still got banned in these ranges?


Re: Need help to Fix Anti Sobiet Fly hack - Karan007 - 14.03.2015

Код:
new Float:animX, Float:animY, Float:animZ;
		new anim = GetPlayerAnimationIndex(i);
		GetPlayerPos(i, animX, animY, animZ);
		if((anim >= 1538) && (anim <= 1542) && animZ > 5 )
		{
		if(IsPlayerInRangeOfPoint(i, 50.0,-607.6102,2167.9099,40.0407) ||
		IsPlayerInRangeOfPoint(i, 50.0,-864.9051,2163.2908,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-963.2916,2451.0042,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-1073.5398,2686.9316,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-1133.2911,2776.9795,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-937.1145,2678.2732,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-1182.6296,2164.0837,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-1305.4430,2113.1953,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,-1369.6489,2114.4470,40.4246) ||
		IsPlayerInRangeOfPoint(i, 50.0,2021.3466,1673.1593,8.0484) ||
		IsPlayerInRangeOfPoint(i, 50.0,2143.2383,1285.6169,7.9766) ||
		IsPlayerInRangeOfPoint(i, 50.0,2101.0918,1910.8403,9.0792 ))
		{
			Ban(i);
		}
		}
Try this one But i didn't test it.


Re: Need help to Fix Anti Sobiet Fly hack - MBilal - 14.03.2015

Man I'm saying I dont want player to get banned in these ranges

Read this :

but the ranges are not working i want wil not ban in these ranges because there are some location in Sanandreas where water level is high For Example Dam and LV Casino water some other they are at high location as compare to the other water level so when player swim there he get ban. but these ranges are not working.


Re: Need help to Fix Anti Sobiet Fly hack - Mijata - 15.03.2015

bump