Signature
native get_user_ip(index, ip[], len, without_port = 0);
Description
Retrieves the IP of a client or the server.
Parameters
- index — Client index, use 0 to retrieve the server IP
- ip — Buffer to copy IP to
- len — Maximum buffer size
- without_port — Remove the port from the IP if nonzero
Returns
Number of cells written to the buffer