Not updating
#5

Yea it helped, thx i solved and it worked

Код HTML:
function Update(playerid, type)
{
	if(IsPlayerConnected(playerid))
	{
		query[0] = (EOS);
		{
			switch(type)
			{
				case pAdminx:
				{
					mysql_format(g_Sql, query, sizeof(query), "UPDATE `users` SET `Admin` = '%d'", PlayerInfo[playerid][pAdmin]);
					mysql_query(g_Sql, query);
				}
				case pMoneyx:
				{
					mysql_format(g_Sql, query, sizeof(query), "UPDATE `users` SET `Money` = '%d'", PlayerInfo[playerid][pMoney]);
					mysql_query(g_Sql, query);
				}
			}
		}
	}
	return 1;
}
Thx +1 rep
Reply


Messages In This Thread
Not updating - by StR_MaRy - 17.08.2017, 00:31
Re: Not updating - by 10MIN - 17.08.2017, 13:22
Re: Not updating - by StR_MaRy - 17.08.2017, 13:41
Re: Not updating - by JesterlJoker - 17.08.2017, 14:05
Re: Not updating - by StR_MaRy - 17.08.2017, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)