get_user_ip
- Синтаксис
-
native get_user_ip(index, ip[], len, without_port = 0);
Переменная | Описание |
---|---|
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 |
- Описание
- Retrieves the IP of a client or the server.
- Возвращает
- Number of cells written to the buffer