> For the complete documentation index, see [llms.txt](https://risk-scripts.gitbook.io/risk-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://risk-scripts.gitbook.io/risk-scripts/scripts/pizza-delivery-script/usage.md).

# Usage

* **Starting the Job**
  * Go to the **pizza shop** location (<mark style="color:red;">`Config.StartPoint`</mark>).
  * Press **E** (or your standard interact key) to begin the pizza delivery job.
  * A vehicle spawns at <mark style="color:red;">`Config.VehicleSpawnPoint`</mark>, ready for use.
* **Delivering Pizzas**
  * The script picks a delivery route from <mark style="color:red;">`Config.DeliveryPoints`</mark>—first driving to <mark style="color:red;">`vehiclePoint`</mark>, then on foot or by car to <mark style="color:red;">`deliveryPoint`</mark>.
  * Players may have to pick up a pizza box (depending on your script logic) and press **E** again to complete the delivery.
* **Receiving Payment**
  * Each successful delivery awards <mark style="color:red;">`Config.Payment`</mark> dollars.
  * If <mark style="color:red;">`Config.UseCustomNotify`</mark> is <mark style="color:red;">`true`</mark>, the script calls your custom event logic; otherwise, ESX/QB or default GTA notifications display the success message.
* **Repeat or End**
  * Continue delivering pizzas for additional earnings, or end the job by returning the vehicle or leaving the area (based on your script logic).
