PlayerReady

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Event triggered when a player has downloaded or loaded every resource packages and is ready to play in your server.

Server-Side
Event

Js.png JavaScript



JavaScript Syntax
Jslogo.png

Parameters

  • player: Player

Example

This example makes you god.

mp.events.add("playerReady", player => {
 if (player.name != "George")
   player.kick("You're not George");
});


See also

Checkpoint

Colshape

Entity

Player

Streaming

Vehicle

Waypoint