Blip::setRotation: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
After some testing, looks like you need to use UI:CEIL() on the rotation (vehicle/ped heading) before using it there.
After some testing, looks like you need to use UI:CEIL() on the rotation (vehicle/ped heading) before using it there.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">blip.setRotation(blip, rotation);</syntaxhighlight>
<syntaxhighlight lang="javascript">blip.setRotation(rotation);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''blip:''' Blip
*'''rotation:''' int
*'''rotation:''' int
===Return value===
===Return value===

Latest revision as of 14:56, 8 December 2017