Player::ip: Difference between revisions

From RAGE Multiplayer Wiki
m (Replaced HTML with template)
(category)
Line 2: Line 2:


'''Note: this property is read-only.'''
'''Note: this property is read-only.'''
== Getter ==
* {{RageType|string}} Player's connection IP Address
== Example ==
== Example ==
{{ServersideCode|
{{ServersideCode|
Line 9: Line 13:
</pre>
</pre>
}}
}}
==See Also==
==See Also==
{{Player_block}}
{{Player_block}}
[[Category:Player]]
[[Category:Server-side Property]]

Revision as of 12:57, 30 April 2019

This property returns players ip adress.

Note: this property is read-only.

Getter

  • string Player's connection IP Address

Example

Server-Side
let playerIP = player.ip;
player.outputChatBox("Your IP is: " + playerIP);

See Also