net.WriteAngles

From GMod Wiki

Jump to: navigation, search
Function
Syntax net.WriteAngles( Angle )
Where is this used?
Description:
Sends a angle through the net library.
Returns: Nil
Part of Library: net
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Net.WriteAngles]Net.WriteAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSends the angle Angle(90, 10, -10) to the client.
Used onNewerShared.png
Code
net.Start("Test") --Unique name accessed by the recipent's
    net.WriteAngle(Angle(90, 10 -10))
net.Send(Entity(1))
 
OutputEntity 1 will recieve the angle Angle(90, 10, -10) this can be read using net.Recieve


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox