umsg.Vector
From GMod Wiki
| Function | |
| Syntax |
umsg.Vector( Vector value ) Where is this used? |
| Description: | |
| Includes a vector in the usermessage. | |
| Returns: | nil |
| Part of Library: | umsg |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Umsg.Vector]Umsg.Vector [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sends a vector. |
|---|---|
| Used on | |
| Code | umsg.Vector( Vector(64, 32, 128) ) |
| Output | N/A |
Additional Notes
- This has basically the same effect as
umsg.Float(v.x) umsg.Float(v.y) umsg.Float(v.z)
- The size of a vector is 12 bytes (3 floats)