/* native GetCoordinateOffsets(Float:x, Float:y, Float:, Float:angle, Float:offx, Float:offy, Float:offz, &Float:outx, &Float:outy, &Float:outz); x, y, z - The position of the source coordinates angle - The angle from that coordinate (player/vehicle/object angle) offx, offy, offz - The offsets in the X (left/right), y (forward/back) and z (up/down) directions. outx, outy, outyz - The result coordinates at the offset. */ stock GetCoordinateOffsets(Float:x, Float:y, Float:z, Float:angle, Float:offx, Float:offy, Float:offz, &Float:outx, &Float:outy, &Float:outz) { outx = x + (floatcos(angle, degrees) * offx) - (floatsin(angle, degrees) * offy); outy = y + (floatsin(angle, degrees) * offx) + (floatcos(angle, degrees) * offy); outz = z+offz; return 1; }