Fixes Invisable Animals (#855)

This commit is contained in:
MiniMurder 2023-01-22 16:59:17 -05:00 committed by GitHub
parent 98364f30b6
commit 03767fcd50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,16 @@ namespace big::ped
self::ped = PLAYER::PLAYER_PED_ID();
script::get_current()->yield();
STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(hash);
for (int i = 0; i < 12; i++) {
PED::SET_PED_COMPONENT_VARIATION
(
self::ped,
i,
PED::GET_PED_DRAWABLE_VARIATION(self::ped, i),
PED::GET_PED_TEXTURE_VARIATION(self::ped, i),
PED::GET_PED_PALETTE_VARIATION(self::ped, i)
);
}
return true;
}
@ -85,4 +94,4 @@ namespace big::ped
return ped;
}
}
}