[solved]Some problem with Angels.
#1

Hi.
This is my script and it is inside a timer so when a player requesting class his angel will be moved. But my problem is that his Angel only movves once and then nothing more. Like from angel 0 to 90 and than it stops. Could anyone help me solve this script, thanks
pawn Код:
GetPlayerFacingAngle(playerid,Angel);
if(Angel == 0.0){
SetPlayerFacingAngle(playerid,90.0);
return 1;
}
else if(Angel == 90.0){
SetPlayerFacingAngle(playerid,180.0);
return 1;
}
else if(Angel == 180.0){
SetPlayerFacingAngle(playerid,270.0);
return 1;
}
else if(Angel == 270.0){
SetPlayerFacingAngle(playerid,360.0);
return 1;
}
else if(Angel == 360.0){
SetPlayerFacingAngle(playerid,0.0);
return 1;
}
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: 4 Guest(s)