Skip to content

lack of information vRP_newcoin #21

Description

@iP4STRANA90

Hello I do not understand this part and I do not see more information about it could you help me!

-- > ADD THIS AT THE TOP OF EVERY SCRIPT!

local Tunnel = module("vrp", "lib/Tunnel")
local Proxy = module("vrp", "lib/Proxy")

vRPnc = Proxy.getInterface("vRP_newcoin")

-- > EXAMPLE

vRPnc.giveCoins({player, 100}) -- Give the player 100 coins
vRPnc.takeCoins({player, 100}) -- Take 100 coins from the player
local coins = vRPnc.getCoins({player}) -- Get the number of coins that the player has

-- > HOW TO

Add the Icon URL in line 22 in cfg/coin.lua

Where is it that I have to add so that every so often I automatically get 1 newcoin to each connected player?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions