Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.net.readEntity

S๐Ÿท๏ธ Net

Part of StarfallEx namespace

๐Ÿ”— External
net.readEntity(callback)
View on GitHub|lua/starfall/libs_sh/net.lua:597
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Reads an entity from the net message

Parameters

NameTypeDescription
callback?function(Client only) optional callback to be ran whenever the entity becomes valid; returns nothing if this is used. The callback passes the entity if it succeeds or nil if it fails.

Returns

TypeDescription
EntityThe entity that was read or nil if callback used

Examples

No examples available.

Used In

No usages found in the codebase.