[Ajuda] Verificar velocidade veнculo
#1

Fala galera, precisa da ajuda de vocкs, como posso verificar uma velocidade de um veнculo ? jб tenho uma estrutura, ele passa por um determinado local, e se estiver passando de uma certa velocidade, irei aplicar funзхes como perda de dinheiro ou nivel de procurado, mas a questгo й, preciso verificar a velocidade dele em 120 km, se ele passar disso no caso eu iria aplicar as funзхes ... um sistema de radar bem simples que eu tenho.

Код:
if(IsPlayerInRangeOfPoint(playerid, 25.0, 1073.8452,-1846.3025,13.5469) || IsPlayerInRangeOfPoint(playerid, 25.0, 1322.3062,-1737.6947,13.5469) || IsPlayerInRangeOfPoint(playerid, 25.0, 1437.9358,-1737.6543,13.5469)
	|| IsPlayerInRangeOfPoint(playerid, 25.0, 1524.0229,-1601.5702,13.5469) || IsPlayerInRangeOfPoint(playerid, 25.0, 1815.6035,-1669.0353,13.5469) || IsPlayerInRangeOfPoint(playerid, 25.0, 1996.7695,-1455.2034,13.5547))
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SetPlayerWantedLevel(playerid, 1);
			SendClientMessage(playerid,0xAA3333AA,"Vocк passou acima da velocidade em um radar. E foi gerada uma multa!");
			SendClientMessage(playerid,0xFF66FFAA,"Perdeu a carteira otario :)");
		}
	}
Reply


Messages In This Thread
Velocidade do veнculo - by Japis - 25.06.2017, 05:06
Re: Verificar velocidade veнculo - by VinteDois - 25.06.2017, 05:26
Re: Verificar velocidade veнculo - by Japis - 25.06.2017, 05:30
Re: Verificar velocidade veнculo - by JeffSantos2 - 25.06.2017, 14:36
Re: Verificar velocidade veнculo - by Japis - 25.06.2017, 15:49
Re: Verificar velocidade veнculo - by JeffSantos2 - 25.06.2017, 16:30
Re: Verificar velocidade veнculo - by Japis - 25.06.2017, 19:22
Re: Verificar velocidade veнculo - by Japis - 26.06.2017, 00:28
Re: Verificar velocidade veнculo - by JeffSantos2 - 26.06.2017, 04:00
Re: Verificar velocidade veнculo - by Japis - 26.06.2017, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)