SkyTram
POPULAR LINKS
- BUY IT! Purchase Sky Tram from BigDaddyScripts.com
- SERVER.LUA How to configure framework integration for ticket purchases
{:links-list}
INSTALLATION
- Open the downloaded ZIP product file and drop the
BigDaddy-SkyTramfolder somewhere in your resources folder. - Add your product key (get it here) to the
settings.inifile. - If
useMoney=true, openserver.luaand configure the framework and money functions for your server. - Add
start BigDaddy-SkyTramto yourserver.cfg.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly, so leave the name as
BigDaddy-SkyTram.
{:is-danger}
COMPATIBILITY/INTEGRATION
SkyTram works as a stand-alone resource and has no required dependencies. Money integration is optional and the included server.lua has sections for NAT, QBCore/QBox, ESX, ND Core, BigDaddy-Money, and custom frameworks.
When targeting is enabled, players can use OX Target or QB Target on the ticket machines. Targeting can be disabled to use the configurable interaction key instead.
If BigDaddy-LocalsCall911 is installed and running, riding without a valid ticket will automatically create a 911 call. Without it, the player will only receive the no-ticket notification.
CONFIGURATION
| SETTING | DEFAULT | DESCRIPTION |
|---|---|---|
| [licensing] | ||
| key1 | productkeyhere | This is where you put your product key |
| [settings] | ||
| useMoney | true | Charge players for tickets using the money integration configured in server.lua. Set to false to issue tickets without charging players |
| ShowBlips | true | Show map blips on the two moving tram cars |
| ShowPrompts | false | Show the 3D ticket-machine prompt when targeting is disabled. The interaction key still works when this is false |
| useTargeting | true | Use targeting to interact with ticket machines. Set to false to use the configured control instead |
| ticketPrice | 25 | Price of a one-way ticket when money integration is enabled |
| useTicketMachine | 38 | FiveM control index used at ticket machines when targeting is disabled. 38 is E by default |
| debug | false | Enables extra debugging output. Leave this false unless Big Daddy Scripts support asks you to enable it |
| DesyncKey | various | Internal synchronization key. Do not change this value |
| [locales] | ||
| BuyTicket | BUY TICKET | Ticket-machine targeting label or interaction prompt |
| AccountInfo | Account Information | Title used for payment-account notifications |
| NoMoney | Transaction failed, you do not have sufficient funds. | Message shown when the player cannot afford a ticket |
| BuyTicketThanks | Thank you for your purchase, your ticket will be valid for a one-way ride on the Aerial Tramway. | Message shown after purchasing a ticket |
| BuyTicketTitle | Information | Title used for SkyTram notifications |
| UseTicket | Your Aerial Tramway ticket has been redeemed and once you leave the Tramway, you will need another ticket to ride again. | Message shown when a ticket is redeemed |
| NoTicket | You do not have a ticket to ride. You are a reprobate and thief. | Message shown when riding without a ticket and 911 integration is not running |
| NoTicket911 | You do not have a ticket to ride. You are a reprobate and thief. Notifying Police. | Message shown when riding without a ticket and 911 integration is running |
SERVER.LUA
The default framework is custom. If useMoney=true, change framework near the top of server.lua to the integration used by your server and complete any required framework setup. Valid included values are:
natqbesxndbigdaddycustom
QBCore servers can also set useSociety=true and enter a society account in toSocietyaccount to deposit ticket revenue into that account.
HOW TO PLAY
SkyTram restores the Pala Springs Aerial Tramway with two synchronized cars that automatically travel between the lower and upper stations.
- Go to either station and find one of the ticket machines.
- Use targeting on the machine and select
BUY TICKET. If targeting is disabled, stand near the machine and press the configured key (Eby default). - Wait for a tram car to arrive and for its doors to open.
- Walk into the tram car before it leaves the station.
- Your ticket is redeemed when the ride begins. Tickets are valid for one one-way ride, so purchase another ticket before the return trip.
Players can board without a ticket, but they will receive a warning. If BigDaddy-LocalsCall911 is running, boarding without a ticket also reports the incident to police.
Use /skytram-help to display the ticket-machine key binding.