
07.02.2015, 16:33
|
|
Флудер
Регистрация: 26.10.2013
Сообщений: 4,924
С нами:
6603505
Репутация:
183
|
|
Сообщение от NarutoUA
Так очевидно что он не свои координаты получить пытается
ну тогда
Код:
Код:
uint32_t null = *(int*)0xB74490;
null += 0x4;
null = *(int*)null;
for (uint32_t one = 0; one = 0x00) && (two getSAMP()->getPlayers()->GetSAMPPlayerIDFromGTAHandle(Ppos_two);
if ((SF->getSAMP()->getPlayers()->IsPlayerDefined(P_id)) && (P_id != SF->getSAMP()->getPlayers()->sLocalPlayerID))
{
if ((SF->getSAMP()->getPlayers()->pRemotePlayer[P_id]->iIsNPC == false) && (SF->getSAMP()->getPlayers()->pRemotePlayer[P_id]->pPlayerData->iAFKState != 2))
{
CVector result;
typedef void(__thiscall *CPed__getBonePositionWithOffset) (void *_this, CVector *offset, int bodeId, bool includeAnim);
(CPed__getBonePositionWithOffset(0x5E01C0))(SF->getSAMP()->getPlayers()->pRemotePlayer[P_id]->pPlayerData->pSAMP_Actor->pGTA_Ped, &result, 1, true);
//resul.fX, resul.fY и resul.fZ - координаты игрока. Чекает пешком и в машине
}
}
}
}
|
|
|