Install guide
Download
rrp_base
andrrp_realistic_atm
and put into your server'sresources
directory.Open your server cfg (default
server.cfg
)Add the following lines:
ensure rrp_base ensure rrp_realistic_atm
Remove/Modify your banking scripts that handle ATM opening or PIN code management (if using cached pincodes).
Start the server
Edit pages
Open client/pageHandlers.lua
Remove buttons:
Remove or comment out. Example for comment out the "change_pin" button:
local function createHomePage(dui)
DUI = dui
local title = RRP.Locale.T('homepage.title')
local subtitle = RRP.Locale.T('homepage.subtitle')
local description = RRP.Locale.T('homepage.description')
local buttons = {
{index = 2, text = RRP.Locale.T('homepage.buttons.info'), fn = Pages.InfoPage},
--{index = 3, text = RRP.Locale.T('homepage.buttons.change_pin'), fn = Pages.ChangePinCode1},
{index = 6, text = RRP.Locale.T('homepage.buttons.balance'), fn = Pages.BalancePage},
{index = 7, text = RRP.Locale.T('homepage.buttons.withdraw'), fn = Pages.WithdrawPage},
{index = 8, text = RRP.Locale.T('homepage.buttons.deposit'), fn = Pages.DepositPage},
{index = 4, text = RRP.Locale.T('homepage.buttons.exit'), fn = function()
CurrentAtm:destroy()
end}
}
BtnHandlers = {}
return createPage(dui, title, subtitle, description, buttons)
end
Button positions:
Change index (1-8)
{index = 2, text = RRP.Locale.T('homepage.buttons.info'), fn = Pages.InfoPage},
Last updated