{"hash":"0xEA11BFBA","ns":"CFX","name":"GET_CURRENT_SERVER_ENDPOINT","slug":"GET_CURRENT_SERVER_ENDPOINT","official":true,"named":true,"luaName":"GetCurrentServerEndpoint","game":"cfx","apiset":"client","returnType":"char*","params":[],"returnsDescription":"The peer address of the game server (e.g. `127.0.0.1:30120`), or NULL if not available.","summary":"Returns the peer address of the remote game server that the user is currently connected to.","descriptions":[{"source":"cfx","format":"md","body":"Returns the peer address of the remote game server that the user is currently connected to."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_SERVER_ENDPOINT","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_SERVER_ENDPOINT.md","snippets":{"lua":"local retval = GetCurrentServerEndpoint()","luaInvoke":"local retval = Citizen.InvokeNative(0xea11bfba, Citizen.ResultAsString())","js":"const retval = GetCurrentServerEndpoint();","jsInvoke":"const retval = Citizen.invokeNative('0xea11bfba', Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xea11bfba);","notes":[]}}