Player::serial: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This property returns players serial. '''Note: this property is read-only.''' == Example == {{ServersideCode| <pre> let playerSerial = player.serial; player.outputChatBox("Yo...")
 
m (category)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This property returns players serial.
This property returns player's client serial.


'''Note: this property is read-only.'''
'''Note: this property is read-only.'''
== Example ==
== Example ==
{{ServersideCode|
{{ServersideCode|
Line 9: Line 10:
</pre>
</pre>
}}
}}
==See Also==
==See Also==
{{Player_block}}
{{Player_block}}
[[Category:Player API]]
[[Category:Server-side Property]]

Latest revision as of 17:03, 17 May 2019

This property returns player's client serial.

Note: this property is read-only.

Example

Server-Side
let playerSerial = player.serial;
player.outputChatBox("Your Serial is: " + playerSerial);

See Also