GetPlayerIP on OnPlayerDisconnect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: GetPlayerIP on OnPlayerDisconnect (
/showthread.php?tid=331420)
GetPlayerIP on OnPlayerDisconnect -
Bocky1337 - 04.04.2012
when "GetPlayerIp" used in "OnPlayerDisconnect", the IP is "255.255.255.255" should be corrected times, so you can use it again OnPlayerDisconnect measures entering.
mfg Bocky
Respuesta: GetPlayerIP on OnPlayerDisconnect -
admantis - 04.04.2012
this bug is old, there is a workarround thought, store the IP when the player connects, not when the player disconnects.