Quantcast

Jump to content

» «
Photo

[Q]Teleport to the map mark ?

5 replies to this topic
jiahsuan
  • jiahsuan

    Player Hater

  • Members
  • Joined: 10 Jun 2005

#1

Posted 05 February 2009 - 06:01 PM

Thanks for you help !!! LUA or ASI

Marduk123
  • Marduk123

    Rat

  • Members
  • Joined: 10 Jul 2007

#2

Posted 06 February 2009 - 03:03 PM

true that could be a great idea tounge.gif

jiahsuan
  • jiahsuan

    Player Hater

  • Members
  • Joined: 10 Jun 2005

#3

Posted 06 February 2009 - 03:16 PM

http://www.gtaforums...howtopic=389609
this mod can do this , but can't work in 1.0.2.0
hope someone can make it

Killuminati91
  • Killuminati91

    Brucie

  • Members
  • Joined: 28 Nov 2008

#4

Posted 07 February 2009 - 10:41 AM

1.000.000$?

Thanks for your help!!! Check or cash

jiahsuan
  • jiahsuan

    Player Hater

  • Members
  • Joined: 10 Jun 2005

#5

Posted 07 February 2009 - 11:35 AM

thank for your help~

my english is poor ,sorry about this blush.gif

jiahsuan
  • jiahsuan

    Player Hater

  • Members
  • Joined: 10 Jun 2005

#6

Posted 21 February 2009 - 10:28 PM

CODE
int __cdecl GET_BLIP_COORDS(int a1, int a2)  //0x00A0C430
{
int v2; // [email protected]
int result; // [email protected]

v2 = sub_7B53E0(a1);
if ( v2 < 0 )
{
  result = a2;
  __asm
  {
    xorps   xmm0, xmm0
    movss   dword ptr [eax+8], xmm0
    movss   dword ptr [eax+4], xmm0
    movss   dword ptr [eax], xmm0
  }
}
else
{
  _EAX = dword_FB1AF0[v2];
  if ( *(_BYTE *)(_EAX + 8) )
  {
    __asm
    {
      movss   xmm0, dword ptr [eax+30h]
      movss   xmm1, dword ptr [eax+34h]
      movss   xmm2, dword ptr [eax+38h]
    }
  }
  else
  {
    __asm
    {
      movss   xmm0, dword ptr [eax+1Ch]
      movss   xmm1, dword ptr [eax+20h]
      xorps   xmm2, xmm2
    }
  }
  result = a2;
  __asm
  {
    movss   dword ptr [eax], xmm0
    movss   xmm0, [esp+10h+var_4]
    movss   dword ptr [eax+4], xmm1
    movss   dword ptr [eax+8], xmm2
    movss   dword ptr [eax+0Ch], xmm0
  }
}
return result;
}

<!--c2--><!--ec2-->

<!--c1-->





<!--ec1-->
  int const *Blips = (int*)0x00FB1AF0;   //Blips On The Map
  isWpOn = false;

  for(int j = 0; j<50; j++)           //I dont know the limit of the array...
  {
      if(Blips[j] != 0)
      {
              Wpx = *(float*)(Blips[j] + 0x30);
              Wpy = *(float*)(Blips[j] + 0x34);
              Wpz = *(float*)(Blips[j] + 0x38);
      }

      if(Wpz == 0) break;        //It is waypoint. Maybe better solution like blip name.
  }

  if(isWpOn) PrintText(m_font, "Press F12 For Teleport (%d, %d, %d)", (int)Wpx, (int)Wpy, (int)Wpz); //It is my  function to write text to screen.
<!--c2-->


how can make it to ASI ? thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users