25.11.2014, 22:59
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.
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.