19.09.2009, 16:48
Hey I can get car angle GetPlayerFacingAngle doesn't working please help!
AddStaticVehicle(Floatx,Floaty,Floatz,FloatAngle,Color1,Color2);
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;
}