PlayerStreamIn
Event triggered when a player enters or loads into the stream distance of another player.
Server-Side Event
JavaScript |
---|
JavaScript Syntax
Parameters
- player: Player
- forPlayer: Player
Example
mp.events.add("playerStreamIn", (player, forPlayer) => {
// Do what you want.
});