SA-MP 0.3b RC4-2
#31

pawn Code:
stock GetVehicleRotation(vehicleid,&Float:x,&Float:y,&Float:z)
{
    new Float:Rot[4];
    GetVehicleRotationQuat(vehicleid,Rot[0],Rot[1],Rot[2],Rot[3]);
    x = atan2(2*((Rot[1]*Rot[2])+(Rot[0]+Rot[3])),(Rot[0]*Rot[0])+(Rot[1]*Rot[1])-(Rot[2]*Rot[2])-(Rot[3]*Rot[3]));
    y = atan2(2*((Rot[2]*Rot[3])+(Rot[0]*Rot[1])),(Rot[0]*Rot[0])-(Rot[1]*Rot[1])-(Rot[2]*Rot[2])+(Rot[3]*Rot[3]));
    z = asin(-2*((Rot[1]*Rot[3])+(Rot[0]*Rot[2])));
}
aclaro que no es mia la funcion.
Reply


Messages In This Thread
SA-MP 0.3b RC4-2 - by Zamaroht - 15.08.2010, 23:56
Re: SA-MP 0.3b RC3 - by MrDeath537 - 16.08.2010, 02:41
Respuesta: SA-MP 0.3b RC3 - by J96 - 16.08.2010, 03:52
Re: SA-MP 0.3b RC3 - by Wesk3R - 16.08.2010, 04:56
Re: Respuesta: SA-MP 0.3b RC3 - by MrDeath537 - 16.08.2010, 05:58
Re: SA-MP 0.3b RC3 - by TheChaoz - 16.08.2010, 07:11
Respuesta: SA-MP 0.3b RC3 - by Cesar_Biker - 16.08.2010, 10:01
Re: SA-MP 0.3b RC3 - by CristianTdj - 16.08.2010, 10:17
Respuesta: SA-MP 0.3b RC3 - by xenowort - 16.08.2010, 13:54
Respuesta: SA-MP 0.3b RC3 - by dark boy - 16.08.2010, 18:25
Respuesta: SA-MP 0.3b RC3 - by Dark_Children - 16.08.2010, 21:00
Respuesta: SA-MP 0.3b RC3 - by Cacoby - 16.08.2010, 22:34
Re: SA-MP 0.3b RC3 - by SuperMarioRol - 17.08.2010, 14:20
Respuesta: Re: SA-MP 0.3b RC3 - by xenowort - 17.08.2010, 17:13
Re: SA-MP 0.3b RC4-1 - by Wesk3R - 18.08.2010, 16:56
Respuesta: SA-MP 0.3b RC4-1 - by Cesar_Biker - 18.08.2010, 17:02
Re: Respuesta: SA-MP 0.3b RC4-1 - by Zamaroht - 18.08.2010, 17:11
Respuesta: SA-MP 0.3b RC4-1 - by xenowort - 18.08.2010, 18:53
Re: Respuesta: SA-MP 0.3b RC4-1 - by Miguel - 18.08.2010, 20:29
Re: SA-MP 0.3b RC4-1 - by MrDeath - 18.08.2010, 20:37
Re: SA-MP 0.3b RC4-1 - by g_aSlice - 18.08.2010, 20:46
Re: SA-MP 0.3b RC4-1 - by Wesk3R - 18.08.2010, 21:22
Re: SA-MP 0.3b RC4-1 - by elvago - 18.08.2010, 23:19
Respuesta: SA-MP 0.3b RC4-1 - by Dark_Children - 18.08.2010, 23:34
Re: Respuesta: SA-MP 0.3b RC4-1 - by Wesk3R - 19.08.2010, 01:37
Re: SA-MP 0.3b RC4-1 - by the_chaoz - 19.08.2010, 02:38
Respuesta: SA-MP 0.3b RC4-1 - by Cesar_Biker - 19.08.2010, 10:14
Re: Respuesta: SA-MP 0.3b RC4-1 - by RPGaming - 19.08.2010, 11:18
Re: SA-MP 0.3b RC4-1 - by Wesk3R - 19.08.2010, 12:50
Respuesta: Re: SA-MP 0.3b RC4-1 - by Cesar_Biker - 19.08.2010, 14:04
Re: SA-MP 0.3b RC4-2 - by the_chaoz - 23.08.2010, 01:46
Respuesta: Re: SA-MP 0.3b RC4-2 - by xenowort - 23.08.2010, 13:37
Re: SA-MP 0.3b RC4-2 - by ⓕⓞⓞⓖⓨ! - 23.08.2010, 14:04
Re: SA-MP 0.3b RC4-2 - by Wesk3R - 23.08.2010, 14:33
Re: Respuesta: Re: SA-MP 0.3b RC4-2 - by SuperMarioRol - 23.08.2010, 18:47
Re: SA-MP 0.3b RC4-2 - by ⓕⓞⓞⓖⓨ! - 23.08.2010, 18:51
Re: SA-MP 0.3b RC4-2 - by SuperMarioRol - 23.08.2010, 19:03
Re: SA-MP 0.3b RC4-2 - by Zamaroht - 24.08.2010, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)