Help With Simple ESP GTASA

DutchGay101

Active member
Joined
Sep 15, 2023
Messages
27
Reaction score
2
hi, i have some problems with my esp(its unstable and very sht), can i get a source example ?
 

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
Show us your code first, then we could figure something out.
Its easy to ask for sources and just copy&paste them.
Atleast you can search for some existing esp sources, I bet there is many of them.
 

DutchGay101

Active member
Joined
Sep 15, 2023
Messages
27
Reaction score
2
C++:
                CPool<CPed, CCopPed>* pedPool = CPools::ms_pPedPool;

                if (pedPool) {
                    for (int i = 0; i < pedPool->m_nSize; i++) {
                        if (!pedPool->IsFreeSlotAtIndex(i)) {
                            CPed* ped = pedPool->GetAt(i);
                            if (ped) {

                                while (true)
                                {
                                    ESP_Bones(i, ped);
it works perfect , but draws for a second only
 

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
C++:
                CPool<CPed, CCopPed>* pedPool = CPools::ms_pPedPool;

                if (pedPool) {
                    for (int i = 0; i < pedPool->m_nSize; i++) {
                        if (!pedPool->IsFreeSlotAtIndex(i)) {
                            CPed* ped = pedPool->GetAt(i);
                            if (ped) {

                                while (true)
                                {
                                    ESP_Bones(i, ped);
it works perfect , but draws for a second only
Lmfao, this is not full code but why for cycle and then infinite while loop cycle inside? it looks like when i is 1 then it completelly freezes current thread. lmfao
If you are running this code in loop, then your while(true) inside is completelly useless shit which you should remove.
 

DutchGay101

Active member
Joined
Sep 15, 2023
Messages
27
Reaction score
2
sorry thats not the code , here is the code i talked about:
Code:
if (bools::bones)
{
    for (int i = 0; i < MAX_PLAYERS; i++)
    {
        CPool<CPed, CCopPed>* pedPool = CPools::ms_pPedPool;

        CPed* ped = pedPool->GetAt(i);
        if (ped)
        {
            ESP_Bones(i, ped);
        }
    }
}
 

Expl01T3R

Active member
Joined
Nov 20, 2022
Messages
133
Reaction score
21
Location
Czech Republic
sorry thats not the code , here is the code i talked about:
Code:
if (bools::bones)
{
    for (int i = 0; i < MAX_PLAYERS; i++)
    {
        CPool<CPed, CCopPed>* pedPool = CPools::ms_pPedPool;

        CPed* ped = pedPool->GetAt(i);
        if (ped)
        {
            ESP_Bones(i, ped);
        }
    }
}
discord: watersmoke, contact me i will help
 
Top