Once they have bought it, execute this code:
PHP Code:$amount = "1000";
dbquery("UPDATE users SET credits - " . $amount . " WHERE username = " . USER_NAME . ";");
Printable View
Jontycat, do you respect this work. If so Ill just make the R2 for you? Because people here obviously don't respect me (:
---------- Post added at 09:18 PM ---------- Previous post was at 09:08 PM ----------
Bump, if you like please click the thanks button (:
I have no use for it and I could code better myself so no thanks
its easyer making in the database!!
Nice release' =D
Had something like this already but little more advanced. Yours is quite simple and for that reason i like it haha. Hope to see R2 =D.
Thank you (: ^^
Dont get me wrong this is totally DaEternity's Support with ur edit please give credits. Thanks
Only some code is his (:
But I will give credits...
I had this idea for a long ass time, but I pictured it more user-friendly. If this was more user-friendly it would be very good!
Good release bro.
Housekeeping next time (:
lol for roomids make a new command and make itt send an alert saying ""+ session.gethabbo().currentRoomId+"
and take the id field out and it will auto put one in :)
Hope I helped. Im currently looking for a hotel coder job. PM me for info.
Its okay guys no need to flatter him. Its not his. He told me. VIA MSN.
What? I don't even know you ^^
---------- Post added at 09:34 PM ---------- Previous post was at 09:27 PM ----------
Add this to your chatcommandhandler.cs :
case "roomid":
Session.SendNotif("The room ID you are in is:" + Session.GetHabbo().CurrentRoomId);
return true;
SQL rijkstehabbos ?
People, Add this to your chatcommandhandler.cs :
case "roomid":
Session.SendNotif("The room ID you are in is:" + Session.GetHabbo().CurrentRoomId);
return true;
Thanks alot!
no problem (:
Hope the R2 comes soon. But how about the texts? Does it says nothing, etcetera.
OMG! You have just reminded me, I finished the R2. But I can't find it on my PC, I'm looking for the file, lol, hope I find it :O Lol
Yes, I do, he's a noob :S