IsPedComponentVariationGen9Exclusive
клиент IS_PED_COMPONENT_VARIATION_GEN9_EXCLUSIVE
c
bool IS_PED_COMPONENT_VARIATION_GEN9_EXCLUSIVE(Ped ped, int componentId, int drawableId);Примеры
lua
local ped = PlayerPedId()
for component = 0, 12 do
local count = GetNumberOfPedDrawableVariations(ped, component)
for drawable = 0, count - 1 do
if IsPedComponentVariationGen9Exclusive(ped, component, drawable) then
print("Component " .. component .. " drawable " .. drawable .. " is a gen9 exclusive, skip!")
end
end
endПараметры
- ped: The target ped.
- componentId: The component id.
- drawableId: The drawable id.
Возвращает
Whether or not the ped component variation is a gen9 exclusive (stub assets).
Страница собрана автоматически из native-decls/IsPedComponentVariationGen9Exclusive.md. Нашли ошибку — поправьте исходный файл.