Compas
#3

Quote:
Originally Posted by gamer_Z
Посмотреть сообщение
you can get the player roation with GetPlayerFacingAngle . then just make a nice textdraw that shows your direction :P
text draws are way to hard for me
And i was looking on wiki and found this
pawn Код:
new Float:Angle, string[26];
GetPlayerFacingAngle(playerid, Angle);
format(string, sizeof(string), "Your facing angle: %0.2f", Angle);
SendClientMessage(playerid, 0xFFFFFFFF, string);
should it be like this os something?
pawn Код:
public(playerid,Float:Angle)
{
    new Float:Angle, string[26];
    format(string, sizeof(string), "Your facing angle: %0.2f", Angle);
    SendClientMessage(playerid, 0xFFFFFFFF, string);
    return ;
}
Reply


Messages In This Thread
Compas - by cruising - 06.06.2011, 00:00
Re: Compas - by Gamer_Z - 06.06.2011, 00:03
Re: Compas - by cruising - 06.06.2011, 00:37
Re: Compas - by Gamer_Z - 06.06.2011, 01:01
Re: Compas - by cruising - 06.06.2011, 01:33
Re: Compas - by Gamer_Z - 06.06.2011, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)