My server is restarting...
#5

Now i founded problem, if my user is not found in database, then server restart, if it is, it won`t

My code, what is problem there

format(Query, sizeof(Query), "SELECT * FROM `kasutajad` WHERE `Name` = '%s'", UuriM2ngijanimi(playerid));
mysql_query(Query);
mysql_store_result();

if(mysql_num_rows() == 1)
{

If user is
}
else
{
If user not found
}

what is the right code?
Reply


Messages In This Thread
My server is restarting... - by Larry123 - 07.01.2012, 16:53
Re: My server is restarting... - by Artie_Scorpion - 07.01.2012, 16:58
Re: My server is restarting... - by BlackWolf120 - 07.01.2012, 17:07
Re: My server is restarting... - by Wickeed - 07.01.2012, 17:30
Re: My server is restarting... - by Larry123 - 07.01.2012, 17:38
Re: My server is restarting... - by BlackWolf120 - 07.01.2012, 17:52
Re: My server is restarting... - by Larry123 - 07.01.2012, 18:17
Re: My server is restarting... - by BlackWolf120 - 07.01.2012, 18:20
Re: My server is restarting... - by Larry123 - 07.01.2012, 18:26
Re: My server is restarting... - by Larry123 - 07.01.2012, 19:00

Forum Jump:


Users browsing this thread: 1 Guest(s)