Ip - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Ip (
/showthread.php?tid=530648)
Ip -
Fjclip99 - 08.08.2014
When i save players ip, everyones ip is 255.255.255.255
EDIT: I am using GetPlayerIp()
Re: Ip -
Fjclip99 - 08.08.2014
Ohhh, i fixed... i didn't read the wiki
Quote:
This function does not work when used in OnPlayerDisconnect because the player is already disconnected. It will return an invalid IP (255.255.255.255). Save players' IPs under OnPlayerConnect if they need to be used under OnPlayerDisconnect.
|