Compas
#4

Quote:
Originally Posted by cruising
Посмотреть сообщение
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 ;
}
pawn Код:
new Float:Angle, string[26];
GetPlayerFacingAngle(playerid, Angle);
format(string, sizeof(string), "Your facing angle: %0.2f", Angle);
SendClientMessage(playerid, 0xFFFFFFFF, string);
>>

pawn Код:
new Float:Angle, string[26];
GetPlayerFacingAngle(playerid, Angle);
format(string, sizeof(string), "Direction: %0.0f grades", Angle);
TextDrawSetString(TextDrawID,string);
try that :P
Check out some TD tutorials before you go on.
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: 2 Guest(s)