Gamemode.CompletedIncomingStream
From GMod Wiki
| Event Hook | |
| Hook Name | CompletedIncomingStream |
| Syntax | GM:CompletedIncomingStream( Player pl , String handler, Number id, String rawdata, procdata ) |
| Description | Called when the client or server has completed receiving a stream. Use this to block unwanted data. Procdata can be a number of different types of data. pl is serverside only. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.CompletedIncomingStream]Gamemode.CompletedIncomingStream [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Part of the datastream module.
- Returning false does nothing clientside.
- You should only use this for stream blocking if you need the data to block the stream. Otherwise use gamemode.AcceptStream
- This function really has no use clientside.