06.03.2010, 02:53
The title say it all, how would I get it?
new VehicleRot[MAX_PLAYERS];
public OnGameModeInit()
{
SetTimer("Timer", 500, true);
return 1;
}
public Timer()
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerInAnyVehicle(i))
{
new Float:Angle;
GetPlayerFacingAngle(playerid, Angle);
VehicleRot[playerid] = Angle;
}
}
return 1;
}