Getting Car Angle
#3

GetVehicleZAngle(vehicleid, Float:rotation);

Edit... vVv

Example:
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
  new string[30];
  new Float:rotation;
  new vehicleid = GetPlayerVehicleID(playerid);
  GetVehicleZAngle(vehicleid, rotation);
  format(string, sizeof(string), "Vehicle Rotation = %f", rotation);
  SendClientMessage(playerid, COLOR_BLUE, string);
  return 1;
}
Reply


Messages In This Thread
Getting Car Angle - by xCoder - 19.09.2009, 16:48
Re: Getting Car Angle - by Peter_Corneile - 19.09.2009, 16:49
Re: Getting Car Angle - by Djiango - 19.09.2009, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)