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 ?
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);
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. lmfaoit works perfect , but draws for a second onlyC++: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);
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 helpsorry 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); } } }