Arm Wrestling

Step-by-step installation guide, common issues & solutions, code snippets, error codes, config previews, locales previews, SQL previews, and changelogs; all in 1 easily accessible place.

Buy Here

FiveM Forums Post

YouTube Walkthrough Video

Translate

INSTALLATION GUIDE

Step 0 - First Steps

Step 1 - Configure Resource

HOW TO USE

This resource is very easy to install and configure. Once the steps above are complete the rest is simple:

  1. Use the #Chat Command to spawn an arm wrestling table.

  2. Walk up to it and press E to join the game.

  3. You will have to wait for another player, but once the other player joins, the countdown will start.

  4. Spam the keys displayed on your screen.

INFORMATION

Default Key Binds

This resource does not use key mapping; these keys are hard coded.

Key
Description

E

Join a game at the closest table.

X

While waiting for another player this key will cancel the game.

Chat Commands

These chat commands can be renamed and/or disabled in the Keys and Commands section of the [configs/config.lua].

The exact usage for each command will be displayed in the chat suggestions when using the commands in-game.

Command
Description

/armwrestling_table

Spawn an arm wrestling table.

/armwrestling_delete

Delete the closest arm wrestling table (within a small radius).

Events

These events are completely optional; you can use them if needed.

Spawn an arm wrestling table

Spawns the prop on your location.
TriggerEvent('cd_armwrestling:SpawnTable')

Delete the closest arm wrestling table

Deletes the closest within a small radius.
TriggerEvent('cd_armwrestling:DeleteTable')

Usable Items

Usable items can be renamed or disabled in the [configs/config.lua].

Item Name
Description

armwrestling_table

Spawn an arm wrestling table.

Run these SQL queries in your database.
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES ('armwrestling_table', 'Arm Wrestling Table', 1, 0, 1);

COMMON ISSUES

Please check out our Troubleshooting Guide before contacting our support.

🔔 Folder Name Make sure the name of the folder either cd_armwrestling.

🔔 Encrypted Files Do not edit the encrypted files in any way.

ERROR CODES

If you see an error code not listed below please open a script support ticket in the Codesign Discord.

N/A

CHANGELOG

Files Changed

Not every update requires you to replace the whole folder. We do this because we understand it's a pain to redo the configs for every update.

  • All Files - This means you should delete your old cd_armwrestling folder, download and add in the latest version, reconfigure the configs folder and restart your server.

  • All Files Except config.lua - This means you should do all of the above (in the All Files section) but additionally make a backup of the config.lua file and replace the new config.lua file with the one you made a backup of.

  • Specific Files - This means you can copy and paste the SPECIFIC new files over the old ones and restart the server.

Update Type

On rare occasions, you are forced to update to the latest version. Mostly due to authentication updates where the old versions will no longer work.

  • Mandatory - This means you MUST update to this new version, or the old versions will no longer work.

  • Optional - This means it's completely your choice whether you wish to update to the latest version. But we do not offer support for old versions for obvious reasons; they are old.

20/12/2022

Files Changed:

Update Type:

Changelog:

Last updated

Was this helpful?