ip saving
#9

Quote:
Originally Posted by Namer
Посмотреть сообщение
this is not right Ip[16]; ?
IP[16] is right (15 to be exact, but it doesn't matter that much).

Don't use cache_get_field_content_int, as an IP address is a string and not an int.

Where does it say this wrong IP address? IG or in the database?

Add a debug cmd that shows PlayerInfo[playerid][IP] and use a printf() for your UPDATE query to see what exactly is entered into your database.
Reply


Messages In This Thread
ip saving( fixed it my self) - by JeaSon - 25.11.2014, 12:23
Re: ip saving - by Vince - 25.11.2014, 13:01
Re: ip saving - by JeaSon - 25.11.2014, 13:08
Re : ip saving - by Dutheil - 25.11.2014, 13:19
Re: ip saving - by OsteeN - 25.11.2014, 14:10
Re: Re : ip saving - by JeaSon - 25.11.2014, 16:11
Re: ip saving - by iZN - 25.11.2014, 16:41
Re: ip saving - by JeaSon - 25.11.2014, 16:50
Re: ip saving - by AnthonyTimmers - 25.11.2014, 22:59
Re: ip saving - by MD5 - 25.11.2014, 23:52

Forum Jump:


Users browsing this thread: 1 Guest(s)