That did not really answer my question, anyways, it was just an example, couldn't think of anything else. Also, I didn't know about background workers (timers), currently reading about it. However, now I wonder what threads are even used for and when should I use a thread?
Thanks in advance.
So I'm new to C# and were wondering: Whats the best way to keep a thread alive in C#? For example if I want to constantly check if a car got less than 0 litres fuel (bad example), how should I do it in a thread? The only way I can think of is using is a while(true) loop with an if statement in...
I really cba to explain how to add this and how to make it work, but I'll just give out the codes itself.
Please note that this is for an edited Plus emulator and wont even work for Plus emulator without some editing. So if you're not familiar with C# and habbo emulators, then this is useless...
I coded prison system for Plus Emulator a while back, could give out the code if wanted, if I even find the source. However, you will need to change some codes yourself in order to make it work with your Phoenix emulator.
Here is the code for faceless command for Plus emu:
case "faceless":
{
string[] figureParts;
string[] headParts;
figureParts = Session.GetHabbo().Look.Split('.');
foreach (string...
Yes I mean those links. Is this hosted on a web host, server or just on your computer? Both cms and emulator.
Yes server_settings in your database, phpmyadmin.
To start off with, change both 192.168.0.122 to 127.0.0.1 in your emu config, then restart your emu and then check if ur SWF links are correct.
Edit: Right I remember that you must change a value in a table, I think it was server_settings, I don't remember tho. The column should be called...