RCON updateuser

Issue #265 resolved
Jmando ZAP created an issue

if($data == 2) { dbquery("UPDATE users_settings SET achievement_score = achievement_score + '1000000' WHERE id = '$user_id'"); $core->MUS('hotelalert', '"message":"It works"'); //This is just here to verify alert goes through after purchase }

When users purchase this and reload client, Nothing happens obv but if I reboot emulator its not saved. I need a updateuser so that it saves the change to database without emulator rebooting

Comments (2)

  1. Log in to comment