Entity.GetNetworkedString
From GMod Wiki
| Function | |
| Syntax | Entity:GetNetworkedString( Var index [, String default] ) |
| Description: | |
| Returns a networked String in this entity set with Entity.SetNetworkedString with the given index. | |
| Returns: | String |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetNetworkedString]Entity.GetNetworkedString [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Gets a networked string from an entity. |
|---|---|
| Used on | |
| Code | Entity:GetNetworkedString(my_variable) |
| Output | N/A |
Additional Notes
- Can be written GetNWString().
- Networked data is only synchronized when it is set!
- Index can be a String or Integer .