16.07.2011, 14:43
Hi all, I have a problem with data updating.
Saving data function looks like this
Server log: [16:02:30] CMySQLHandler::Query(UPDATE `Accounts` SET `IP Address` = '255.255.255.255' WHERE `Username` = 'Player') - Successfully executed.
My ip address is not like this '255.255.255.255'
thanks for help
Saving data function looks like this
pawn Код:
new PlayerIP[24];
GetPlayerIp(playerid, PlayerIP, sizeof (PlayerIP)); //Players IP
format(Query, sizeof(Query), "UPDATE `Accounts` SET `IP Address` = '%s' WHERE `Username` = '%s'",PlayerIP,GetEscName(playerid));
Server log: [16:02:30] CMySQLHandler::Query(UPDATE `Accounts` SET `IP Address` = '255.255.255.255' WHERE `Username` = 'Player') - Successfully executed.
My ip address is not like this '255.255.255.255'
thanks for help