This guide will help you set up and customize the pizza delivery script for your FiveM server. Follow the steps below to configure the settings according to your preferences.
Pizza Delivery Script Configuration
1. Language Setting
Defines the language for the script. Supported languages are German (de), English (en), Polish (pl), Portuguese (pt), and Spanish (es).
Translation settings for different languages. Below is an example for English.
Config.Translations = {
de = {
startJob = "Drücken Sie [E], um die Pizza-Lieferung zu starten.",
warning = "Warnung",
success = "Erfolg",
driveToPoint = "Fahren Sie zum markierten Punkt, um die Pizza zu liefern.",
getTheBox = "Gehen Sie zum Kofferraum und holen Sie die Box.",
parkVehicle = "Drücken Sie [E], um Ihr Auto hier zu parken.",
collectBox = "Drücken Sie [E], um die Box zu holen.",
deliverPizza = "Gehen Sie zum Lieferpunkt und liefern Sie die Pizza aus.",
deliverSuccess = "Gehalt auf Ihr Pizza-Konto gutgeschrieben.($50)",
parkAndExit = "Parken Sie Ihr Auto und steigen Sie aus, um die Pizza zu liefern.",
endJob = "Sie haben den Pizza-Lieferjob beendet.",
collectMoney = "Sie haben $%s abgeholt."
},
en = {
startJob = "Press [E] to start pizza delivery",
warning = "Warning",
success = "Success",
driveToPoint = "Drive to the marked point to deliver the pizza.",
getTheBox = "Go to the trunk and get the box.",
parkVehicle = "Press [E] Park your car here",
collectBox = "Press [E] to get the box",
deliverPizza = "Press [E] to deliver pizza",
deliverSuccess = "Salary credited to your pizza account.($50)",
parkAndExit = "Park your car and get out to deliver the pizza.",
endJob = "You have ended the pizza delivery job.",
collectMoney = "You have collected $%s."
},
pl = {
startJob = "Naciśnij [E], aby rozpocząć dostawę pizzy.",
warning = "Ostrzeżenie",
success = "Sukces",
driveToPoint = "Jedź do zaznaczonego punktu, aby dostarczyć pizzę.",
getTheBox = "Idź do bagażnika i weź pudełko.",
parkVehicle = "Naciśnij [E], aby zaparkować tutaj samochód.",
collectBox = "Naciśnij [E], aby wziąć pudełko.",
deliverPizza = "Naciśnij [E], aby dostarczyć pizzę.",
deliverSuccess = "Wynagrodzenie zaksięgowane na twoim koncie pizzowym.($50)",
parkAndExit = "Zaparkuj samochód i wyjdź, aby dostarczyć pizzę.",
endJob = "Zakończyłeś pracę dostawcy pizzy.",
collectMoney = "Zebrałeś $%s."
},
pt = {
startJob = "Pressione [E] para iniciar a entrega de pizza.",
warning = "Aviso",
success = "Sucesso",
driveToPoint = "Dirija até o ponto marcado para entregar a pizza.",
getTheBox = "Vá até o porta-malas e pegue a caixa.",
parkVehicle = "Pressione [E] para estacionar seu carro aqui.",
collectBox = "Pressione [E] para pegar a caixa.",
deliverPizza = "Pressione [E] para entregar a pizza.",
deliverSuccess = "Salário creditado na sua conta de pizza.($50)",
parkAndExit = "Estacione seu carro e saia para entregar a pizza.",
endJob = "Você