Garry's Mod Wiki
Description
Appends an unsigned integer with 64 bits to the current net message.
The limit for an uint64 is 18'446'744'073'709'551'615.
Everything above the limit will be set to the limit.
Unsigned numbers do not support negative numbers.
Arguments
If your input is a number and not a string, it won't be networked correctly as soon as it has more than 13 digits.
This is because Lua represents numbers over 13 digits as 1e+14
(100 000 000 000 000
)
You can do something like this to convert it to a string: string.format("%.0f", number)
.
If you try to use tostring it will fail because it will create a result something like 1e+14
which doesn't work.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated twice a day. Edits and history are not available.
Last Parsed: Loading...