◆ ActionFillOil()
◆ ActionCondition()
31 {
33 return false;
34
35 if(
item.GetQuantity() <= 0 )
36 return false;
37
40 return false;
41
43 return false;
44
47
50 {
52 {
54 {
56
57 if (
dist <
carS.GetActionDistanceOil() )
58 return true;
59 }
60 }
61 }
62
63 return false;
64 }
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
Definition Car.c:19
bool IsTransport(ActionTarget target)
Definition ActionBase.c:1049
Definition CivilianSedan.c:2
Definition EnConvert.c:106
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
Перекрестные ссылки vector::Distance() и ActionBase::IsTransport().
◆ CreateConditionComponents()
◆ OnEndAnimationLoopServer()
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/Vehicles/ActionFillOil.c