It don't change the data on database
#2

Код:
    format(_query, sizeof(_query), "UPDATE `accounts` SET `Hours` = %d WHERE `Reg_ID` = '%d'", score, pInfo[targetid][pRegID]);
    mysql_tquery(handle, _query);
Instead of Reg_ID and pInfo[targetid][pRegID], use your users reg ids column name and Reg variable. Use this code at the bottm of the /setscore command.
Reply


Messages In This Thread
It don't change the data on database - by DarkMythHunter - 12.09.2018, 09:52
Re: It don't change the data on database - by UFF - 12.09.2018, 10:07
Re: It don't change the data on database - by iLearner - 12.09.2018, 10:27

Forum Jump:


Users browsing this thread: 2 Guest(s)