Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- --Itt lehet beállítani a mentési időt az új játékosoknak. Alapértelmezetten 300 másodpercenként azaz 5 percenként van mentés. (NEM LEHET 0!!!)
- Config.SaveTime = 300 --Set the seconds for saving new player time. For default it's 300 second so player time get saved every 5 min. (NEVER USE 0!!!)
- --Opciók: legacy; oldesx; qbcore
- Config.Framework = "legacy" --Options: legacy; oldesx; qbcore
- --Ezzel csak akkor kell foglalkzoni ha régi esx-et használsz
- Config.ESXtrigger = "esx:getSharedObject" --You only need to care about the trigger if you have have old esx
- --Mentés számláló. Ha egy új játékos 12 alkalommal lesz elmentve akkor lejár az új játékos mód. Tehát alapértelmezetten most 12 * 300 másodperc azaz 60 percig tart az új játékos mód.
- Config.SaveCount = 12 --Save counter. If a new player is saved 12 times the new player mode expires. So by default, the new player mode now lasts for 12 * 300 seconds, i.e. 60 minutes.
- --Állítsd át false-ra ha nem szeretnél értesítéseket arról, hogy mennyi idő van hátra
- Config.EnableNotifications = true --Set to false if you don't want notifications about how much time is left
- --Állítsd át false-ra ha nem szeretnéd, hogy legyen felirat a játékosok kijelzőjén mikor új játékos módban vannak
- Config.EnableScreenText = true --Set to false if you don't want to have a text on players screen when they are in new player mode
- --Állítsd át false-ra ha nem szeretnéd, hogy a script itemeketet hozzon létre
- Config.CreateItems = true --Set it to false if you don't want to create script create usable items
- --Itt add meg az itemek neveit (Ha a Config.CreateItem false-ra van állítva akkor nem kell ezzel foglalkoznod.)
- Config.Items = { --Set the items name here (If you have Config.CreateItem on false then you don't have to do anything with this.)
- "onehouritem",
- "twohoursitem",
- "threehoursitem"
- }
- --Itt add meg, hogy az itemeknek mennyi ideig legyen hatásuk (A SaveCount itt is ugyan azt jelenti, mint fentebb a Config.SaveCount) [Ha a Config.CreateItem false-ra van állítva akkor nem kell ezzel foglalkoznod.]
- Config.ItemSaveCount = { --Specify here how long the items should have an effect (SaveCount here also means the same as Config.SaveCount above) [If you have Config.CreateItem on false then you don't have to do anything with this.]
- onehouritem = { SaveCount = -12 },
- twohoursitem = { SaveCount = -24 },
- threehoursitem = { SaveCount = -48 },
- }
- --Értesítési beálíltások:
- --Notification settings:
- RegisterNetEvent("mester_newplayernotify")
- AddEventHandler("mester_newplayernotify", function(type, msg)
- --Itt tudod beállítani az értesítést
- --You can customize the notification here
- --Example: TriggerEvent('YourNotificationSystemTrigger', type, msg)
- --exports['okokNotify']:Alert("New Player Mode", msg, 5000, type) --okok notify (PAID resource)
- --TriggerEvent("mosh_UI:Open", type, msg, "right", true) --Mosh UI / Notify (PAID resource)
- --exports['mythic_notify']:DoHudText(type, msg) --Mythic Notify (Free resource)
- --exports["skeexsNotify"]:TriggerNotification({ ['type'] = type, ['message'] = msg }) --skeexsNotify (Free resource)
- --TriggerEvent('QBCore:Notify', msg, type) --Default QBCore notifcation (Free resource)
- TriggerEvent('esx:showNotification', msg) --Default ESX notification (Free resource)
- end)
- --Értesítés típúsa:
- --Notification type:
- Config.NotificationType = "WARNING"
- --Nyelv beállítások:
- --Locales:
- --EN:
- Config.NewPlayerUntil = "New player mode expires after: "
- Config.Seconds = " seconds"
- Config.YouAreInNewPlayerMode = "You are in new player mode"
- --HU:
- --[[
- Config.NewPlayerUntil = "Új játékos vagy még ennyi ideig: "
- Config.Seconds = " másodpercig"
- Config.YouAreInNewPlayerMode = "ÚJ JÁTÉKOS MÓDBAN VAGY"
- ]]
- --DE:
- --[[
- Config.NewPlayerUntil = "Der Modus für neue Spieler läuft ab in: "
- Config.Seconds = " sekunden"
- Config.YouAreInNewPlayerMode = "Sie sind im Modus für neue Spieler"
- ]]
Advertisement
Add Comment
Please, Sign In to add comment