×

AddCustomer

 

The "AddCustomer" event is used to force the spawn of a client; note that this event should only be called during the day (see the OnDayStarted and OnDayEnd functions).

If there are no more spaces in the parking lot, it will have no effect but the function will return False for the output "Spawn success".

 

To force spawn customer in the game, you can use the “AddCustomer” interface with the following inputs:
‘Target’ = the “PlayerCode” reference from the “Get player” function