boi , if u cannot make undetecatble god mode u have no clue what ur doing then.
if (DatHQGodmode){
//ENTITY::SET_ENTITY_PROOFS(PLAYER_PED_ID(), true, true, true, true, true, true, true, true);
ENTITY::SET_ENTITY_HEALTH(PLAYER::PLAYER_PED_ID(), PED::GET_PED_MAX_HEALTH(PLAYER::PLAYER_PED_ID()));
//PED::SET_PED_ARMOUR(PLAYER::PLAYER_PED_ID(), PLAYER::GET_PLAYER_MAX_ARMOUR(PLAYER::PLAYER_ID()));
//ENTITY::SET_ENTITY_INVINCIBLE(PLAYER::PLAYER_PED_ID(), 1); <- Makes It Detected
ENTITY::SET_ENTITY_CAN_BE_DAMAGED(PLAYER::PLAYER_PED_ID(), 0);
ENTITY::SET_ENTITY_PROOFS(PLAYER::PLAYER_PED_ID(), 1, 1, 1, 1, 1, 1, 1, 1);
//ENTITY::SET_ENTITY_INVINCIBLE(PLAYER::PLAYER_PED_ID(), true); <- Makes It Detected
//PED::SET_PED_CAN_RAGDOLL(PLAYER::PLAYER_PED_ID(), 0);
PED::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(PLAYER::PLAYER_PED_ID(), 0);
PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), false);
}
And this is how its "detected"
for (int i = 0; i < 18; i++)
{
if(PLAYER::GET_PLAYER_INVINCIBLE(i){
sprintf(magicchar, "%s is maggot !", PLAYER::GET_PLAYER_NAME(i));
drawNotification(magicchar);
//Logicly Make This Different Type Of Code like draw it somewhere or smth this is just a base .
}
}