DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnDebugSpawn()

override void Motorbike_02_ColorBase::OnDebugSpawn ( )
inlineprotected

См. определение в файле Vehicles/InheritedMotorbikes/Motorbike_02.c строка 125

126 {
128
129 float amount = GetFluidCapacity(MotorbikeFluid.FUEL);
130 Fill(MotorbikeFluid.FUEL, amount);
131
132 //-----ATTACHMENTS
133 GetInventory().CreateInInventory("Motorbike_02_Wheel_1");
134 GetInventory().CreateInInventory("Motorbike_02_Wheel_2");
135
136 GetInventory().CreateInInventory("Motorbike_02_ShieldFront_Red");
137 GetInventory().CreateInInventory("Motorbike_02_ShieldLeft_Red");
138 GetInventory().CreateInInventory("Motorbike_02_ShieldRight_Red");
139 }
MotorbikeFluid
Type of vehicle's fluid. (native, do not change or extend)
Определения Motorbike.c:14
proto native void Fill(MotorbikeFluid fluid, float amount)
Adds to the specified fluid the specified amount.
proto native float GetFluidCapacity(MotorbikeFluid fluid)
void SpawnUniversalParts()
Определения MotorbikeScript.c:1425

Перекрестные ссылки Fill(), GetFluidCapacity() и SpawnUniversalParts().