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,292
C

Chr0m3 x MoDz

Knowledge is power, Power is corruption
VIP
Messages
5,376
Reaction score
7,928
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:
S

shaunr

Propane and propane accessories
Messages
1,669
Reaction score
493
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.
 
C

Chr0m3 x MoDz

Knowledge is power, Power is corruption
VIP
Messages
5,376
Reaction score
7,928
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
 
S

shaunr

Propane and propane accessories
Messages
1,669
Reaction score
493
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
 
C

Chr0m3 x MoDz

Knowledge is power, Power is corruption
VIP
Messages
5,376
Reaction score
7,928
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.
 
B

krutch54

Getting There
Messages
1,204
Reaction score
335
kernel klink
 
W

Wolf

Zombies :D
Retired
Messages
8,711
Reaction score
6,130
... Is nice.
 
D

Digital HD

The Master of GTA
Retired
Messages
8,155
Reaction score
5,121
The teleporting players who are talking is nice, but unlocking random achievements is just...well random. :tongue:
 
S

shaunr

Propane and propane accessories
Messages
1,669
Reaction score
493
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

dudeeitsbrian

Reefer Smoker
Messages
2,393
Reaction score
1,924
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++;
    }
}
 
B

krutch54

Getting There
Messages
1,204
Reaction score
335
he likes to mess with leeches sometimes
 
S

SBHAX

Aye so...
Messages
2,934
Reaction score
2,137
Another nice release Chrome :smile:
 
C

Chr0m3 x MoDz

Knowledge is power, Power is corruption
VIP
Messages
5,376
Reaction score
7,928
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:
S

shaunr

Propane and propane accessories
Messages
1,669
Reaction score
493
now it just makes me lag, like 15 fps
 
Top Bottom