14.05.2013, 15:21
What error..? The angle needs to be the vehicle's angle. I forgot about that. Use this:
pawn Код:
new Float:x, Float:y, Float:z, Float:a;
GetVehiclePos(vehicleid, x, y, z);
[B]GetVehicleZAngle(vehicleid, a);
GetOffset(x, y, z, a, 0, -4.5, 0, x, y, z);
if(IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
{
// They are at the back of the trashmaster
}

