Install guide

  1. Download rrp_base and rrp_realistic_atm and put into your server's resources directory.

  2. Open your server cfg (default server.cfg)

  3. Add the following lines:

    ensure rrp_base
    ensure rrp_realistic_atm
  4. Remove/Modify your banking scripts that handle ATM opening or PIN code management (if using cached pincodes).

  5. 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