- 0
GetPlayerIp @ OnPlayerDisconnect
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
LaZ
De cateva zile am o problema cu GetPlayerIp in callback-ul OnPlayerDisconnect.
Cand un jucator iese, adica /quit sau ESC/Quit Game GetPlayerIp va returna valoarea 255.255.255.255, dar daca primeste kick sau ban din consola sau in joc, GetPlayerIp va returna IP-ul corect al jucatorului.
Nu cred ca ii ceva gresit cu codul de mai sus, pentru ca returneaza valoarea corecta cand un jucator iese via kick/ban :|. Sau ii gresit ceva si nu-mi dau eu seama...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts