πŸ•΅οΈβ€β™‚οΈUsage

  1. Applying a Blindfold

    • Inventory Usage (ESX/QB): A player uses the blindfold item near another player. The script checks proximity; if close enough, it applies a vision-limiting effect.

    • Messages & Animations (Optional): If your script triggers an animation or progress bar, players see β€œYou are using a blindfold...” while the effect applies.

  2. Removing a Blindfold

    • A player (or another player) can use the scissors item to remove the blindfold.

    • If RS.RemoveScissorsAfterUse = true, the item disappears from inventory upon use.

    • The script can also automatically remove the blindfold after a certain condition or time (if you’ve coded that).

  3. Locale-Specific Warnings

    • If no player is nearby, it displays RS.Locales[RS.Language].warning (e.g., β€œThere are no players nearby!” in English).

    • You can easily extend or add new locales in RS.Locales.

  4. Framework Detection

    • The script calls getFramework() to see if ESX or QBCore is running. If neither is found, you may see an error in the console indicating no compatible framework.

Last updated