Posts: 100
Threads: 11
Joined: Dec 2018
Quote:
Originally Posted by Undef1ned
mysql_format(g_sql, query, sizeof(query), "UPDATE characters SET p_money = '%d' WHERE p_name = '%e'", pData[playerid][pMoney], ReturnName(targetID));
'pData[playerid][pMoney]' should be 'pData[targetID][pMoney]'
|
Oh yeah, thats another problem. Much appreciated haha. Oh and yeah, I just forgot to update the enum, but that one is done already.