wasvendel_luckycases
Lucky case / coin system.
Requirements
- VORP (or compatible RedM core)
oxmysql
Installation
- Unzip
wasvendel_luckycases. - Put the
wasvendel_luckycasesfolder into your serverresourcesdirectory. - Import
install.sqlinto your database. - Add the resource to
server.cfgafter your framework core.
ensure oxmysql
ensure your_core
ensure wasvendel_luckycasesDatabase
Import the install.sql file.
Configuration
Edit:
config.luasv_config.lua
Commands
| Command | Source | Usage |
|---|---|---|
/case |
Config.Settings.cmd (if cmdenable) |
Case UI |
/luckycoin |
Config.Settings.cmdLuckycoin (if CoinsAdmin.enable) |
/luckycoin add/remove/set/check [playerId] [amount] |
Exports
Server (runtime exports)
| Export | Signature |
|---|---|
GetCoins |
(src) |
GetCoinsByIdentifier |
(identifier, charid) |
AddCoins |
(src, amount) |
AddCoinsByIdentifier |
(identifier, charid, amount) |
RemoveCoins |
(src, amount) |
RemoveCoinsByIdentifier |
(identifier, charid, amount) |
SetCoins |
(src, amount) |
SetCoinsByIdentifier |
(identifier, charid, amount) |