I’m trying to get a player’s IP to use in a function, which according to the natives docs is a server-side function.
I am struggling with getting the player source into my serverside code.
The ‘callstack’? is a bit confusing
User runs command registered in clientside code
NUI stuff
NUI Callback to http://resource/request
NUI Callback triggers server event “resource:request”
Get IP
I also need to pass some data to the server event, so I’m not sure if this impacts anything at all?
Thanks in advance for any help.