Mysql ip login
#5

pinguinn's code is a bit incorrect
pawn Код:
new _ip[25], ip[25];
GetPlayerIp(playerid, ip, sizeof(ip));
mysql_query("SELECT ip FROM `tablename` WHERE `name` = '%s'", name);
mysql_fetch_field_row(_ip, "ip");
if(!strcmp(_ip, ip, true)
Reply


Messages In This Thread
Mysql ip login - by TheBluec0de - 06.11.2011, 20:51
Re: Mysql ip login - by Pinguinn - 06.11.2011, 20:55
Re: Mysql ip login - by TheBluec0de - 06.11.2011, 20:57
Re: Mysql ip login - by Pinguinn - 06.11.2011, 20:59
Re: Mysql ip login - by Sascha - 06.11.2011, 21:02
Re: Mysql ip login - by TheBluec0de - 06.11.2011, 21:06
Re: Mysql ip login - by Sascha - 06.11.2011, 21:11
Re: Mysql ip login - by TheBluec0de - 06.11.2011, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)