Pool::at

From RAGE Multiplayer Wiki
Revision as of 15:30, 11 September 2016 by Ragempdev (talk | contribs) (Created page with "This function returns entity at specified id. ==Syntax== <syntaxhighlight lang="javascript"> pool.at( id ); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function returns entity at specified id.

Syntax

pool.at( id );

Example

console.log(mp.players.at(0).name);