[solved]Some problem with Angels.
#5

or i changed to it
Код:
GetPlayerFacingAngle(playerid,Angel);
if(Angel >= 0.0 && Angel <= 89.9){
SetPlayerFacingAngle(playerid,90.0);
return 1;
}
else if(Angel >= 90.0 && Angel <= 179.9){
SetPlayerFacingAngle(playerid,180.0);
return 1;
}
else if(Angel >= 180.0 && Angel <= 269.9){
SetPlayerFacingAngle(playerid,270.0);
return 1;
}
else if(Angel >= 270.0 && Angel <= 359.9){
SetPlayerFacingAngle(playerid,360.0);
return 1;
}
else if(Angel == 360.0){
SetPlayerFacingAngle(playerid,0.0);
return 1;
}


try now i hope it work...
Reply


Messages In This Thread
[solved]Some problem with Angels. - by Goobiiify - 26.01.2010, 20:07
Re: Some problem with Angels. - by Rzzr - 26.01.2010, 20:31
Re: Some problem with Angels. - by Goobiiify - 26.01.2010, 20:34
Re: Some problem with Angels. - by Babul - 26.01.2010, 20:42
Re: Some problem with Angels. - by SlashPT - 26.01.2010, 20:44
Re: Some problem with Angels. - by mansonh - 26.01.2010, 20:48
Re: Some problem with Angels. - by SlashPT - 26.01.2010, 20:50
Re: Some problem with Angels. - by Goobiiify - 26.01.2010, 21:00
Re: Some problem with Angels. - by Rzzr - 26.01.2010, 21:05
Re: Some problem with Angels. - by Joe Staff - 26.01.2010, 21:20

Forum Jump:


Users browsing this thread: 2 Guest(s)