Player::isOnLadder: Difference between revisions

From RAGE Multiplayer Wiki
(property)
m (category)
 
Line 15: Line 15:
}}
}}


[[Category:Player]]
[[Category:Player API]]
[[Category:Clientside API]]
[[Category:Server-side Property]]
[[Category:Server-side Property]]

Latest revision as of 16:59, 17 May 2019

Returns whether the specified ped is on ladder.

Note: this property is read-only.

Getter

  • Boolean - true if player ped is on ladder, false otherwise.

Example

Server-Side
if (player.isOnLadder) {
	player.outputChatBox("You are climbing on ladder right now!");
}