Skip to content

five-on-it / packages/sim/src/garages / takeOutCar

Function: takeOutCar() ​

takeOutCar(sim, eid, garage): boolean

Defined in: packages/sim/src/garages.ts:179

Takes the player's last stored car out into a garage's bay, facing out of its door, the player's and open, and seats the character at its wheel; returns whether it did.

Parameters ​

sim ​

SimWorld

eid ​

number

garage ​

number

Returns ​

boolean