🧠Word Memory

VISE Word Memory Game Documentation

⚙️Installation

  1. Download vise_word_memory_game resource from Cfx.re Keymaster

  2. Extract vise_word_memory_game into your server's resources directory

  3. Add ensure vise_word_memory_game to your resources.cfg

🕹️ Starting the Game

You can either start the game through your own scripts or use the test command.

✅ Starting through your own scripts:

local result = exports.vise_word_memory_game:start()

print('game ended with result:', result)

✅ Using the test command:

Type command /test_vise_word_memory_game in-game.

Game can be seen at 0:48-1:09

🔄 Result (return value)

The start() function will return true if the player finishes the game, or false if they fail or run out of time. If you're using a callback, the same true or false will be passed into the callback function.

🔧 Settings

When starting the game, you can pass a settings table to customize how the game works.

Here are the available setting options:

  • targetScore – How many correct answers to win the game (default: 15)

  • wordTimeout – How long (in seconds) the player has to decide for each word (default: 5)

Example settings:

📦 Usage Examples

Regular usage:

Callback usage:

Last updated