18.08.2013, 21:39
How can I move an object forward with ^ and sidewards with < >? ((<> represent arrow keys))
Is it possible to "drive" and object?
Is it possible to "drive" and object?
stock GetXYInFrontOfPoint(Float:x, Float:y, &Float:x2, &Float:y2, Float:A, Float:distance)
{
x2 = x + (distance * floatsin(-A, degrees));
y2 = y + (distance * floatcos(-A, degrees));
}