Tonyx97

Members
  • Content count

    166
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tonyx97

  • Rank
    Busta
  • Birthday 06/02/97

Details

  • Location
    Murcia / España
  • Occupation
    Computer Engineering Student
  1. ¿Cuanto cobrar?

  2. [Duda] Liberty City

    mira en google sobre eso y te lo explica bien.
  3. [Duda] Liberty City

    Hace siglos que no entro a MTA pero AsuS me ha enviado este post y bueno, ya que estoy paso el programa. El programa lo hice hace un huevo de tiempo y supongo que sigue funcionando bien. Paso el código porque supongo que no puedo pasar links externos en el foro. http://pastebin.com/cbUsBnDc Esta en C++ a si que para compilarlo vas a necesitas visual studio 2013 o 2015 o cualquier otro pero VS es el mejor. También supongo que no hace falta explicar como va, simplemente cuando lo tengas ábrelo y sigue las instrucciones y prueba algún IDE e IPL, se genera si mal no recuerdo un archivo donde hace una array donde almacena todos los .dff y .txd con sus colisiones y LODS correspondientes y además un archivo lua donde va el mapeado de todos los objetos del IPL. Importar todo esto sin modificaciones en el código de MTA va a provocar unos pocos bugs de modelos, por eso le metí un pequeño sistema de LODS para evitar los máximos errores posibles. Denada
  4. Sounds.

    There is no way, sorry.
  5. Ped Function

    Hello community! I've been researching in MTA Blue where the spawn ped was but I couldn't find it anywhere... I only want to spawn a ped, anyone knows the function and asm struct? Thanks in advance.
  6. Wow everything is clear now thanks!
  7. It finally works correctly, thanks you ixfj so much for your time really A little question, what was the difference between you told me and the new code? I mean the "dereferencing" of an address like *(DWORD*).
  8. I've tested this and doesn't work, first of all the condition doesn't work aswell it gives me 26 if I don't use DWORD first = mem.Read<DWORD>(0xB6F5F0); if (mem.Read<byte> (first + 0x46C) == 1) this gives me 1 if I'm on car, and when I press the key the car doesn't switch the state, what is going on?
  9. This is whole function http://gyazo.com/5607514fb13062d1323ceff512f09af3 And I call it here http://gyazo.com/ac16750ab5272b671212929174944766 (this is obviously in while loop)
  10. This is so weird because I'm using CE to get values as byte and the values I got on my program are the same as I got in CE and when I try to switch engine state the game crashes.
  11. EDIT: Okey, I can get values correctly now http://gyazo.com/7966e542708ddcda6230980e0f21eb30 I pass from 4 bytes directly to byte value. I'll try if this works on GTA.
  12. mem.Read<byte>(0xB6F5F0 + 0x58C); -> CPed + Vehicle = 24 mem.Read<byte>(0xB6F5F0 + 0x46C); -> CPed + Check = 1
  13. Yea I tested it that it give me 24, Should I use that value as dwThis or dwInterface? Because I tested it and the game crashes.
  14. Okay, thanks you, I'll try now.
  15. Thanks for the info sbx, I've been researching Interfaces classes and I know that the interface is m_pInterface and the funcs are SetInterface and GetInterface. I've been looking for createVehicle function which (I suppose) that contains the _asm function where dwReturn is the Interface of that vehicle ( SetInterface(dwReturn) ) but I didn't find the function, where is it located at source?