basic vehicle eject onDestroyed code

leverages Parent to also call the rest of the deletions
also fix setdamagedirection for players driving vehicles instead of either on thier own
This commit is contained in:
AzaezelX 2025-04-08 19:50:47 -05:00
parent 5cf54580e6
commit 9007aa9532
4 changed files with 144 additions and 5 deletions

View file

@ -21,6 +21,7 @@ function DamageModel::onCreateGameServer(%this)
%this.queueExec("./scripts/server/projectile");
%this.queueExec("./scripts/server/weapon");
%this.queueExec("./scripts/server/shapeBase");
%this.queueExec("./scripts/server/vehicle");
%this.queueExec("./scripts/server/player");
}