five-on-it / packages/sim/src/garages / garageService
Function: garageService()
garageService(
sim,eid,service):boolean
Defined in: packages/sim/src/garages.ts:112
Takes a garage's service for a character at the wheel (service as the input says: 1 a respray, 2 storing the car) when the garage offers it and the player has its price in Cash, which is taken; returns whether it was done.
Parameters
sim
eid
number
service
number
Returns
boolean