Hi guys, just a quick question. Does anyone can recommend me any function or workaround what to use for
enabling envioremental damages to vehicles, but disable weapon damages ? Tried using cEvent triggers, but doesn’t seems to work properly. Thanks.
Basically there are roles, and trying to enable enviromental damages to the civlian vehicle, and disabling damages by weapon.
have you try with these in .meta file yet
<collisionDamageMultiplier value="0.5" />
<weaponDamageMultiplier value="0.0" />
I’m on my phone so didn’t have a chance to help you test and I’m not sure it functional properly or not
This won’t work in the use case described as this affects all players regardless of other factors; a better approach would be to either hook the events or, if that’s not possible, there’s got to be natives for it.
So there is a roles,jobs specific that can deal a damage to any vehicle with collision or weapon, And civilians or unemployed can deal a damage by collision vehicle
Or there is a vehicle for roles,jobs that can be damaged with both method, And civilians vehicle can only be damaged by collision?
If it second then can’t you just use those in xml and made a specific vehicle available for civilians or roles only
managed to do it by using SetPlayerRelationship functions