Blip::setNameToPlayerName: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Function to set blip name to player [[Player::socialClub|social club gamer tag name]].
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">blip.setNameToPlayerName(blip, player);</syntaxhighlight>
<syntaxhighlight lang="javascript">blip.setNameToPlayerName(player);</syntaxhighlight>
=== Required Arguments ===
===Required Argument===
*'''blip:''' Blip
*'''player:''' {{RageType|Number}} [[Pool::remoteId|player shared id]]
*'''player:''' Player
===Return value===
===Return value===
*'''Undefined'''
* '''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
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]]
[[Category:Client-side Function]]

Latest revision as of 20:50, 6 May 2019