Getting kicked players
#22

Quote:
Originally Posted by Jefff
View Post
pawn Code:
// save
format(query,sizeof(query),"UPDATE `serverinfo` SET `Total_Kicked` = %d", ++totalkicked);
mysql_tquery(mysql,query);

// load
new Cache:result = mysql_query(mysql, "SELECT `Total_Kicked` FROM `serverinfo`");
new tk = cache_get_row_int(0, 0, mysql);
cache_delete(result, mysql);
format(string,sizeof(string),"%s\nTotal kicked players: %d", string, tk);
ok same

my database

Reply


Messages In This Thread
Getting kicked players - by Loinal - 03.06.2017, 00:02
Re: Getting kicked players - by Hansrutger - 03.06.2017, 00:04
Re: Getting kicked players - by Loinal - 03.06.2017, 00:10
Re: Getting kicked players - by CheezIt - 03.06.2017, 03:44
Re: Getting kicked players - by Loinal - 03.06.2017, 10:52
Re: Getting kicked players - by Loinal - 03.06.2017, 11:14
Re: Getting kicked players - by Kane - 03.06.2017, 11:32
Re: Getting kicked players - by Loinal - 03.06.2017, 11:58
Re: Getting kicked players - by Kane - 03.06.2017, 12:00
Re: Getting kicked players - by Loinal - 03.06.2017, 12:01
Re: Getting kicked players - by Loinal - 03.06.2017, 14:02
Re: Getting kicked players - by Loinal - 03.06.2017, 16:08
Re: Getting kicked players - by Sew_Sumi - 03.06.2017, 16:41
Re: Getting kicked players - by Loinal - 03.06.2017, 17:52
Re: Getting kicked players - by iLearner - 03.06.2017, 18:15
Re: Getting kicked players - by Hunud - 03.06.2017, 18:20
Re: Getting kicked players - by Loinal - 03.06.2017, 21:33
Re: Getting kicked players - by Sew_Sumi - 03.06.2017, 23:05
Re: Getting kicked players - by Loinal - 03.06.2017, 23:31
Re: Getting kicked players - by Loinal - 04.06.2017, 16:32
Re: Getting kicked players - by Jefff - 04.06.2017, 21:12
Re: Getting kicked players - by Loinal - 05.06.2017, 15:34
Re: Getting kicked players - by Jefff - 05.06.2017, 16:35
Re: Getting kicked players - by Loinal - 05.06.2017, 16:51
Re: Getting kicked players - by Jefff - 05.06.2017, 22:02
Re: Getting kicked players - by Loinal - 06.06.2017, 11:46

Forum Jump:


Users browsing this thread: 3 Guest(s)