Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: EK.IceFlake on Jan 23, 2015, 09:06 PM

Title: [BUG] Vehicle angles not setting properly
Post by: EK.IceFlake on Jan 23, 2015, 09:06 PM
I tried to copy the vehicle angles from 0.3zr2 pawn (my system not have bugs) all the vehicles become in the same place but their angle is not correct. The angles are exactly the same of what worked perfectly in 0.3zr2 pawn. I use directly the angle function in CreateVehicle. Help with be appreciated.
Title: Re: [BUG] Vehicle angles not setting properly
Post by: Fuzzie on Jan 24, 2015, 12:10 AM
The golden rule of searching before asking still applies here you know. (http://forum.vc-mp.org/?topic=203.msg1070)
Title: Re: [BUG] Vehicle angles not setting properly
Post by: EK.IceFlake on Jan 24, 2015, 05:18 AM
Quote from: Fuzzie on Jan 24, 2015, 12:10 AM
The golden rule of searching before asking still applies here you know. (http://forum.vc-mp.org/?topic=203.msg1070)
Quote from: NE.CrystalBlueI use directly the angle function in CreateVehicle
by that I mean: CreateVehicle(...,..., angle, ..., ...);
Title: Re: [BUG] Vehicle angles not setting properly
Post by: MatheuS on Jan 24, 2015, 06:04 AM
CreateVehicle( 191, Vector( player.Pos.x, player.Pos.y, player.Pos.z ), player.Angle, 0, 0 );
Title: Re: [BUG] Vehicle angles not setting properly
Post by: EK.IceFlake on Jan 24, 2015, 07:56 AM
Quote from: NE.CrystalBlue on Jan 24, 2015, 05:18 AM
Quote from: Fuzzie on Jan 24, 2015, 12:10 AM
The golden rule of searching before asking still applies here you know. (http://forum.vc-mp.org/?topic=203.msg1070)
Quote from: NE.CrystalBlueI use directly the angle function in CreateVehicle
by that I mean: CreateVehicle(...,..., angle, ..., ...);
Cant anyone understand me!
I use the CreateVehicle( 191, Vector( player.Pos.x, player.Pos.y, player.Pos.z ), player.Angle, 0, 0 ); I use player.Angle part, the angle sets (I copied angles from 0.3zr2 pawn) but it isnt the correct angle that sets
Title: Re: [BUG] Vehicle angles not setting properly
Post by: Fuzzie on Jan 24, 2015, 08:14 AM
CreateVehicle( veh, player.World, player.Pos, player.Angle, 0, 0 );
This worked perfectly fine for me.
Title: Re: [BUG] Vehicle angles not setting properly
Post by: Gudio on Jan 24, 2015, 11:20 AM
Please notice that degrees are not supported, but radians. You can write a function that converts degrees to radians.
Title: Re: [BUG] Vehicle angles not setting properly
Post by: Fuzzie on Jan 24, 2015, 12:47 PM
Coded this to help you. Enjoy! (http://forum.vc-mp.org/?topic=227) :)
Title: Re: [BUG] Vehicle angles not setting properly
Post by: Stormeus on Feb 16, 2015, 11:40 PM
Not a bug.