[Ajuda] Verificar velocidade veнculo
#7

Cheguei a este cуdigo, porйm esta dando erros, alguйm poderia me ajudar a arrumar ?
Код:
public radar(playerid)
{
   if(IsPlayerInRangeOfPoint(playerid, 1698.01270, -736.61951, 49.62677) ||  IsPlayerInRangeOfPoint(playerid, 1348.89185, -1437.88037, 12.54232) ||  IsPlayerInRangeOfPoint(playerid, -121.80331, -1204.59814, 2.15627) || IsPlayerInRangeOfPoint(playerid,-2681.44043, 1697.19482, 66.84026)  || IsPlayerInRangeOfPoint(playerid,877.14832, 2617.93750, 9.90908)   || IsPlayerInRangeOfPoint(playerid,  520.20801, 473.19461, 17.91820) || IsPlayerInRangeOfPoint(playerid, -628.94098, 651.85773, 15.95270)   || IsPlayerInRangeOfPoint(playerid,-1093.93665, -2857.70215, 66.70730)
   if(IsPlayerInRangeOfPoint(playerid,1207.30078, -1706.53113, 12.37581) || IsPlayerInRangeOfPoint(playerid,356.64810, -1376.79541, 13.34579)    || IsPlayerInRangeOfPoint(playerid,  -845.09442, -1045.57422, 88.33936)||  IsPlayerInRangeOfPoint(playerid, -1654.15955, 2730.46631, 58.96183)||  IsPlayerInRangeOfPoint(playerid,1217.35876, 1689.29993, 5.28598) ||  IsPlayerInRangeOfPoint(playerid,366.77060, 1499.16675, 8.87369)  || IsPlayerInRangeOfPoint(playerid, -708.56897, -1471.71875, 57.91850) || IsPlayerInRangeOfPoint(playerid,  -2887.01465, -1030.04370, 8.65030)
   if(IsPlayerInRangeOfPoint(playerid,884.85620, -1389.45581, 12.26654)  || IsPlayerInRangeOfPoint(playerid,521.51068, -1722.01721, 12.01468)    || IsPlayerInRangeOfPoint(playerid, -1817.13293, 206.84985, 14.10623)  || IsPlayerInRangeOfPoint(playerid,-379.07733, 2708.18726, 62.04369)   || IsPlayerInRangeOfPoint(playerid,2137.04468, 2019.77856, 9.88758)  || IsPlayerInRangeOfPoint(playerid,-167.75929, 367.75211, 11.06930)  || IsPlayerInRangeOfPoint(playerid,-152.74860, -1482.63660, 11.75090)  || IsPlayerInRangeOfPoint(playerid,-1663.99243, -1636.30969, 35.44080))
   {

			TextDrawShowForPlayer(playerid, Flash);
			PlayerPlaySound(playerid,1132,0.0,0.0,0.0);
			GiveDinheiro(playerid, -300);
			SendClientMessage(playerid,0xAA3333AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
			SendClientMessage(playerid,0xAA3333AA," | Radares | Vocк passou acima da velocidade em um radar. E foi multado(a) por 300R$!");
			SendClientMessage(playerid,0xAA3333AA,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
		}


	if(IsPlayerInAnyVehicle(playerid))
	{



  if(GetPlayerVehicleSpeed(playerid) > 120)
		{

    return 1;
}
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)