Re: Changing the solid box angle?
Quote:
Originally Posted by blackops7799
(Post 399171)
Code:
new Float:minbox[3] = { -88.5, -34.0, -1.0 };
new Float:maxbox[3] = { 88.5, 34.0, 1.0 };
I know this is what you use to make the solid box, but is there a way to change the angle of it? This is for carmod so i want it to make the box going in the angle of the person that gets out of the car.
|
Yes, you can use EV_VEC_angles / pev_angles.
The format is x,y,z, with y (or angle[1]) being the angle you want to change. It's from 0-360, IIRC (I think you can go beyond it, but it serves no useful purpose).
|