Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not SERVER then return end
- // Here are some Hooks you can use for Custom Code
- // Called when the player sells a Pizza
- hook.Add("zpiz_OnPizzaSold", "zpiz_OnPizzaSold_Test", function(ply, earning, pizzaID, isburned)
- /*
- if IsValid(ply) then
- print("-----------")
- print(ply)
- print(earning)
- print(pizzaID)
- print(isburned)
- print("-----------")
- end
- */
- end)
- // Called when a pizza got finished baking in the oven
- hook.Add("zpiz_OnPizzaReady", "zpiz_OnPizzaReady_Test", function(pizza, pizzaowner, pizzaID, oven)
- /*
- print("-----------")
- print(pizza)
- print(pizzaowner)
- print(pizzaID)
- print(oven)
- print("-----------")
- */
- end)
- // Called when a pizza gets burned
- hook.Add("zpiz_OnPizzaBurned", "zpiz_OnPizzaBurned_Test", function(pizza, pizzaowner, pizzaID)
- /*
- print("-----------")
- print(pizza)
- print(pizzaowner)
- print(pizzaID)
- print("-----------")
- */
- end)
- // Called when a player eats a Oizza
- hook.Add("zpiz_OnPizzaEaten", "zpiz_OnPizzaEaten_Test", function(ply, pizzaID)
- /*
- print("-----------")
- print(ply)
- print(pizzaID)
- print("-----------")
- */
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement