is possible?
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
Why don't you show use some code? Posts like 'Don't work' are not very informative.
WHAT doesn't work? Do you have errors? How did you code it?
He didn't code nothing, he tried
pawn Код:
stock GetPlayerSpeed(playerid,bool:kmh)
{
  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);
}
and thought that would be his answer...
Reply


Messages In This Thread
is possible? - by Francesco_Totti - 15.08.2010, 20:22
Re: is possible? - by FireCat - 15.08.2010, 20:26
Re: is possible? - by Kitten - 15.08.2010, 20:30
Re: is possible? - by Francesco_Totti - 15.08.2010, 20:35
Re: is possible? - by Francesco_Totti - 15.08.2010, 20:50
Re: is possible? - by Francesco_Totti - 15.08.2010, 21:58
Re: is possible? - by Vince - 15.08.2010, 23:15
Re: is possible? - by Mike Garber - 15.08.2010, 23:17
Re: is possible? - by Guest3598475934857938411 - 15.08.2010, 23:35
Re: is possible? - by Francesco_Totti - 16.08.2010, 15:15

Forum Jump:


Users browsing this thread: 5 Guest(s)