Re: Plus Emu Commands give
This will probably be useful for some. Thanks for the contribution!
I have also converted what is French in the above code to English: [C#] GiveCommand (English) - Pastebin.com
Re: Plus Emu Commands give
No problem, thank you for the translation
Re: Plus Emu Commands give
I'm pretty sure user data like credits are cached, and saved on disconnection or hotel shutdown.
Besides if you're crazy enough to use this anyways, never not-use prepared statements
What is this? :(
- using (IQueryAdapter dbClient = DatabaseManager.GetQueryReactor())
- {
- dbClient.RunQuery("UPDATE `users` SET `credits` = `credits` + '" + Amount + "' WHERE `id` = '" +Target.GetHabbo().Id + "' LIMIT 1");
- }