Blip::setRotation: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
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===
Line 14: Line 13:
{{Blip_s_function_c}}
{{Blip_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:Blip API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 14:56, 8 December 2017