13.05.2012, 13:58
I really need help with one function that probably requires trigonometry:
Something like:
For example, based on the angle, if "offsetx" is 1, then X will be +1 meter to the right, if "offsety", is -3, then Y will be -3 meters to the left, no matter the direction.
Something like:
pawn Код:
GetRelativePosition( &Float:x, &Float:y, &Float:z, Float:angle, Float:offsetx, Float:offsety, Float:offsetz );