[HELP] cops recive message if people drive to fast
#3

Or

pawn Код:
stock GetPlayerSpeed(playerid, bool:kmh) // by misco
{
  new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
  if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
  rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2)));
  return kmh?floatround(rtn * 100 * 1.61):floatround(rtn * 100);
}
(Created By 'Misco')
Reply


Messages In This Thread
[HELP] cops recive message if people drive to fast - by darkhuman - 10.11.2009, 16:54
Re: [HELP] cops recive message if people drive to fast - by Kurence - 10.11.2009, 17:02
Re: [HELP] cops recive message if people drive to fast - by miokie - 10.11.2009, 17:05
Re: [HELP] cops recive message if people drive to fast - by darkhuman - 10.11.2009, 17:42
Re: [HELP] cops recive message if people drive to fast - by WrathOfGenesis - 10.11.2009, 21:14
Re: [HELP] cops recive message if people drive to fast - by darkhuman - 10.11.2009, 21:16

Forum Jump:


Users browsing this thread: 2 Guest(s)