What's new

[Release] (GTA) Teleport People Who Are Talking In Game To You + Unlock Random Achievement

  • Thread starter Chr0m3 x MoDz
  • Start date
  • Views 1,495
Chr0m3 x MoDz

Chr0m3 x MoDz

From the top to the fall, lessons through it all.
VIP
Sinner Services Seasoned Veteran
Messages
5,377
Reaction score
7,882
Points
1,170
Sin$
0
Note: This is not tested although I don't see why it wont work.


Controls are simple press back on the controller and it will say menu activated then press dpad right to scroll through the options the options. Press back again and it will say disabled (this means dpad right wont scroll then)

When you see your option press A and it will do it

So you would have to press A why people are talking for it to work as it's only a button press not a loop.

With generate random achievement it will only unlock one random achievement when you click it each time


I personally think it's weird teleporting people who are talking but meh i done this because of request.

Also note when you teleport them they will teleport to you

Only works when they're in a car

Download Link: http://www.mediafire.com/?qe8xhxcc8sgubkk
 
Last edited:
shaunr

shaunr

Propane and propane accessories
Messages
1,670
Reaction score
493
Points
200
Sin$
7
I'll be back tomorrow and give feedback. and thanks again for doing this. Idk what the point of the random achievement is though lol.
 
Chr0m3 x MoDz

Chr0m3 x MoDz

From the top to the fall, lessons through it all.
VIP
Sinner Services Seasoned Veteran
Messages
5,377
Reaction score
7,882
Points
1,170
Sin$
0
I'll be back tomorrow and give feedback. and thanks again for doing this. Idk what the point of the random achievement is though lol.
I don't know
 
shaunr

shaunr

Propane and propane accessories
Messages
1,670
Reaction score
493
Points
200
Sin$
7
I don't know
you should change it to spawning a banshee for talking players. that way if someone wants to be teleported, but they cant find a car, you can just spawn them one as they talk
 
Chr0m3 x MoDz

Chr0m3 x MoDz

From the top to the fall, lessons through it all.
VIP
Sinner Services Seasoned Veteran
Messages
5,377
Reaction score
7,882
Points
1,170
Sin$
0
you should change it to spawning a banshee for talking players. that way if someone wants to be teleported, but they cant find a car, you can just spawn them one as they talk
I honestly cant be bothered sorry.
 
Digital HD

Digital HD

The Master of GTA
Retired
Beginning of An Odyssey Frame In Gold Seasoned Veteran
Messages
8,152
Reaction score
5,143
Points
1,525
Sin$
0
The teleporting players who are talking is nice, but unlocking random achievements is just...well random. :tongue:
 
shaunr

shaunr

Propane and propane accessories
Messages
1,670
Reaction score
493
Points
200
Sin$
7
it doesnt work. I froze.

More info: I opened the menu. I asked "is anyone here?!" people talked. I pressed the 'a' button. Froze
 
D

Deleted member 117745

Reefer Smoker
Messages
2,393
Reaction score
1,924
Points
365
Sin$
0
the following code has not been tested as i don't have time, but it should teleport anyone who is talking to your position. obviously you need to bind the function to a button.

Code:
void TeleportTalking()
{
    int temp = 0, Players[18], Test = 0, Actual = 0;
    float yVal = 0.2;
    while (Test <= 16)
    {
        if (IS_NETWORK_PLAYER_ACTIVE(Test))
        {
            Players[Actual] = Test;
            Actual++;
        }
        Test++;
    }
    while(temp<Actual)
    {
    if(NETWORK_IS_PLAYER_TALKING(Players[temp]) && !NETWORK_IS_PLAYER_MUTED_BY_ME(Players[temp]) && Players[Temp]!=GET_PLAYER_INDEX())
        {
        float x, y, z;
        int pChar, mChar;
        GET_PLAYER_CHAR(index, &pChar);
        if(IS_CHAR_IN_ANY_CAR(pChar))
        {
            int carmodel, netvehid, veh;
            GET_CAR_CHAR_IS_USING(pChar, &veh);
            GET_NETWORK_ID_FROM_VEHICLE(veh, &netvehid);
            int Attempts = 0; 
            while (!HAS_CONTROL_OF_NETWORK_ID(netid) && Attempts < 25)
            {
                REQUEST_CONTROL_OF_NETWORK_ID(netid);
                Attempts += 1;
                WAIT(50);
            }
            if (HAS_CONTROL_OF_NETWORK_ID(netvehid))
            {
                GET_PLAYER_CHAR(GET_PLAYER_INDEX(), &mChar)
                GET_CHAR_COORDINATES(, &x, &y, &z);
                SET_CAR_COORDINATES(veh, x, y, z);
            }
        }
        temp++;
    }
}
 
Chr0m3 x MoDz

Chr0m3 x MoDz

From the top to the fall, lessons through it all.
VIP
Sinner Services Seasoned Veteran
Messages
5,377
Reaction score
7,882
Points
1,170
Sin$
0
the following code has not been tested as i don't have time, but it should teleport anyone who is talking to your position. obviously you need to bind the function to a button.

Code:
void TeleportTalking()
{
    int temp = 0, Players[18], Test = 0, Actual = 0;
    float yVal = 0.2;
    while (Test <= 16)
    {
        if (IS_NETWORK_PLAYER_ACTIVE(Test))
        {
            Players[Actual] = Test;
            Actual++;
        }
        Test++;
    }
    while(temp<Actual)
    {
    if(NETWORK_IS_PLAYER_TALKING(Players[temp]) && !NETWORK_IS_PLAYER_MUTED_BY_ME(Players[temp]) && Players[Temp]!=GET_PLAYER_INDEX())
        {
        float x, y, z;
        int pChar, mChar;
        GET_PLAYER_CHAR(index, &pChar);
        if(IS_CHAR_IN_ANY_CAR(pChar))
        {
            int carmodel, netvehid, veh;
            GET_CAR_CHAR_IS_USING(pChar, &veh);
            GET_NETWORK_ID_FROM_VEHICLE(veh, &netvehid);
            int Attempts = 0;
            while (!HAS_CONTROL_OF_NETWORK_ID(netid) && Attempts < 25)
            {
                REQUEST_CONTROL_OF_NETWORK_ID(netid);
                Attempts += 1;
                WAIT(50);
            }
            if (HAS_CONTROL_OF_NETWORK_ID(netvehid))
            {
                GET_PLAYER_CHAR(GET_PLAYER_INDEX(), &mChar)
                GET_CHAR_COORDINATES(, &x, &y, &z);
                SET_CAR_COORDINATES(veh, x, y, z);
            }
        }
        temp++;
    }
}
Exact same thing I did and supposedly it froze.

Also that has a lot of mistakes here I fixed it hopefully

Code:
 int temp = 0, Players[18], Test = 0, Actual = 0, netvehid, netid;
    float yVal = 0.2;
    while (Test <= 16)
    {
        if (IS_NETWORK_PLAYER_ACTIVE(Test))
        {
            Players[Actual] = Test;
            Actual++;
        }
        Test++;
    }
    while(temp<Actual)
    {
    if(NETWORK_IS_PLAYER_TALKING(Players[temp]) && !NETWORK_IS_PLAYER_MUTED_BY_ME(Players[temp]) && Players[temp]!=GetPlayerIndex())
        {
        float x, y, z;
        int pChar, mChar;
        GET_PLAYER_CHAR(Test, &pChar);
        if(IS_CHAR_IN_ANY_CAR(pChar))
        {
            int carmodel, netvehid, veh;
            GET_CAR_CHAR_IS_USING(pChar, &veh);
            GET_NETWORK_ID_FROM_VEHICLE(veh, &netvehid);
            int Attempts = 0;
            while (!HAS_CONTROL_OF_NETWORK_ID(netid) && Attempts < 25)
            {
                REQUEST_CONTROL_OF_NETWORK_ID(netid);
                Attempts += 1;
                WAIT(50);
            }
            if (HAS_CONTROL_OF_NETWORK_ID(netvehid))
            {
                GET_PLAYER_CHAR(GetPlayerIndex(), &mChar);
                GET_CHAR_COORDINATES(GetPlayerPed(), &x, &y, &z);
                SET_CAR_COORDINATES(veh, x, y, z);
            }
        }
        temp++;
    }
}

Don't hate just fixing it.
 
Last edited:
Top Bottom
Login
Register