All pastes #960131 Raw Edit

Mine

public text v1 · immutable
#960131 ·published 2008-03-27 22:03 UTC
rendered paste body
GetXYOnSideOfVehicle(vehicleid, &Float:x, &Float:y, Float:distance)
{
new Float:a;
GetVehiclePos(vehicleid, x, y, a);
GetVehicleZAngle(vehicleid, a);
floatadd(degrees, 90.0);
x += (distance * floatsin(-a, degrees));
y += (distance * floatcos(-a, degrees));
return 1;
}