Garry's Mod Wiki

Revision Difference

net.WritePlayer#552410

<function name="WritePlayer" parent="net" type="libraryfunc">⤶ <description>Appends a player entity to the current net message using its <page>Entity:EntIndex</page>. This saves a small amount of network bandwidth over <page>Entity:WriteEntity</page>.⤶ ⤶ See <page>net.ReadPlayer</page> for the function to read the entity.</description>⤶ <realm>Shared</realm>⤶ <added>2023.10.06</added>⤶ <args>⤶ <arg name="ply" type="Player">The player to be sent.</arg>⤶ </args>⤶ </function>⤶ ⤶