Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe



- 0
-
Our picks
Подскажите как перечислить определенные машины в скрипте
Образцов ни где нет, пытался так:
modded class CarScript { ////// урон по авто трайдер //// override void DisableGodMode() { Car car; /// перечисляю ванильные машины чтоб по ним проходил урон //// if(car.IsInherited( CivilianSedan ) || car.IsInherited( Hatchback_02 ) || car.IsInherited( Offroad_02 ) || car.IsInherited( OffroadHatchback ) || car.IsInherited( Sedan_02 ) || car.IsInherited( Truck_01_Base )) { SetAllowDamage(true); } /// по остальным машинам запретить урон /// else { SetAllowDamage(false); } } }
Share this post
Link to post
Share on other sites