Get ip in orpheu
Hi, i'm trying lately how to get the ip of the user when orpheu call Sv_ClientConnect but I searched a lot and I don't found how, i have this:
PHP Code:
|
Re: Get ip in orpheu
why using orpheu if you just can use client_connect or client_putinserver?
|
Re: Get ip in orpheu
Because I need to check the connection as soon as possible
|
Re: Get ip in orpheu
does get_user_ip ( index, ip[], len, [ without_port ] ) not work?
I've never heard about Orpheu.....but you're using amxmodx |
Re: Get ip in orpheu
I think this is called before sending client data like ip to the server, so it's not possible to get player's ip. (I'm not really sure, though)
|
Re: Get ip in orpheu
Then, hook FM_ClientConnect
Args are : ClientConnect(index, const szName[], const szAddress[], szRejectReason[128]) where szAddress is IP |
Re: Get ip in orpheu
Don't work, fakemeta runs later thank orpheu :S
|
Re: Get ip in orpheu
Wait a second....if orpheu is meant to run before everything else....wouldn't it have a get IP function built in? One would hope so......but i don't have a clue.
Or get awesome and write the inc youreself! :twisted: |
Re: Get ip in orpheu
Quote:
|
Re: Get ip in orpheu
Don't work for me, something else?
|
| All times are GMT -4. The time now is 00:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.