முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetActorFacingAngle

எச்சரிக்கை

செயல்பாடு என்பது SA-MP 0.3.7 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Get the facing angle of an actor.

NameDescription
actoridThe ID of the actor to get the facing angle of. Returned by CreateActor.
&Float:angleA float variable, passed by reference, in to which the actor's facing angle will be stored.

Returns​

true - The function executed successfully.

false - The function failed to execute. The actor specified does not exist.

The actor's facing angle is stored in the specified variable.

Examples​

new Float:facingAngle;
GetActorFacingAngle(actorid, facingAngle);