GetAllPlayers

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Gets all the players connected to the server.


C# Syntax
C.png

List<Player> NAPI.Pools.GetAllPlayers();


Example

mp.events.add("consoleCommand", (command) => { mp.console.logInfo('Hello World'); });

// Code here...