Bf read.ReadShort
From GMod Wiki
Function | |
Syntax | bf_read:ReadShort( ) |
Description: | |
Read a short from the usermessage (0-65535) | |
Returns: | Integer |
In Object: | Bf_read |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Bf read.ReadShort]Bf read.ReadShort [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Assuming um is a valid Usermessage, this makes hello the short received from the server |
---|---|
Used on | |
Code | function recvShort( um ) hello = um:ReadShort() //hello is now the short received from the server end |
Output | N/A |