Bf read.Reset
From GMod Wiki
Function | |
Syntax | bf_read:Reset( ) |
Description: | |
Resets the "read head" to the beginning of the message (so you can re-read parts of the message if necessary). | |
Returns: | nil |
In Object: | Bf_read |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Bf read.Reset]Bf read.Reset [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This function was marked as fixed in a prior patch but is still broken.
- This function is particularly useful for peeking at incoming usermessages. A message can be read once, analyzed, reset, and then passed onto the function that normally handles the message.