Jump to content

[TDH]Boss

Members
  • Posts

    112
  • Joined

  • Last visited

Everything posted by [TDH]Boss

  1. I'm giving you an example. I do also have functions for banning by netword card ID, HDD ID and some others. I do still think that banning by CPU ID is enough. Most cheaters are stupid kids who only know how to turn their computer on and how to download cheats. I meant Miscrosoft Visual C++.
  2. As far as I understand, "priority" gives the ability to show one text above the other. But where is the parameter for changing font?
  3. I am not sure about functions of upcoming MTA DM release, but I hope that we're going to have CPU ID ban. If you haven't implented it already, then here's a little function for getting CPU ID, which has to be impelnted in the client. Then you should send it to the server and store in some file. public string GetCPUId() { string cpuInfo = String.Empty; string temp = String.Empty; ManagementClass mc = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { if (cpuInfo == String.Empty) {// only return cpuInfo from first CPU cpuInfo = mo.Properties["ProcessorId"].Value.ToString(); } } return cpuInfo; } The code is in C#, but it is not difficult to convert it, as C# and C++ are parts of one platform (.NET). P.S. Global ban by CPU ID isn't violent. It is what I call justice. Noone would cheat ever. Thanks.
  4. 1) When a player joins, would the current hay bails be cynced for him? 2) If any rock falls and destroys every hay bail below, would all the players still be able to climb to the top? 3) I have also noticed, that someone's nick was cut as it was too long. IS there any way to avoid it and if yes, why wasn't it made in the video? 4) Is there any way to manage text outputs, like moving them to any point on the screen, changing styles, fonts, sizes etc? If yes, could you please give a sample of the needed function?
  5. You forgot to include .lua file, some headers and links in the tutorial itself. Check it out and compare with previous ones.
  6. Is it possible to change player's skin (for example to soldier) and then put some clothes on him?
  7. But what about situation, when a player stands on a high edge (skyscraper )? Some objects would just disappear in middle air.
  8. Will there ever be a function to check whether object has hit the ground?
  9. Here is the working one: http://195.91.169.107/MTAIMeng.swf EDIT: Could someone delete offtop, please?
×
×
  • Create New...