Silly FishSlap – Fish Melee Item for RedM (VORP / RSGCore) 🐟
📌 Description
Ever wanted to slap someone with a fish? Silly FishSlap turns a dead fish into an entertaining melee item for RedM. Equip it from the inventory, face a nearby player or NPC, and deliver a fish slap with configurable scripted damage, knockdown and break chances.
Built with a VORP / RSGCore framework bridge, automatic detection and DE / EN notification texts. Configure the fish, its attachment and the hit effects to suit your server's sense of humour.
✨ Features
- 🐟 Usable inventory item — equip and unequip the fish by using
toterfisch. - 👊 Attack control — use left mouse button to target a living ped in front of you.
- 🤸 Knockdown chance — default 35%, with configurable ragdoll duration.
- 💥 Break chance — default 20% per accepted hit; consumes one fish and unequips it.
- 👥 Nearby fish visibility — equipped fish props are shown to players within a configurable radius, 100 m by default.
- 🧰 Configurable hand attachment — choose the fish prop, bone, offsets and rotations.
- ⏱️ Attack cooldown — default 1.2 seconds between attacks.
- 🧹 Cleanup — unequip, disconnect and resource-stop handling for fish props and synchronized state.
- 🌐 Multi-Framework — VORP Core or RSGCore with the matching inventory.
- 🌍 Multi-Language (DE / EN) — select the language in
config.luaand customize the supplied text packs. - 🗄️ Optional item setup — oxmysql can create the fish entry in a supported inventory database table.
🎮 How It Works
- Player obtains the
toterfischinventory item. - Using it equips a fish in the player's hand.
- Face a living target within 2.2 m and press left mouse button.
- The scripted hit applies damage and rolls the knockdown chance.
- A break roll can remove one fish item and unequip the fish.
- Use the item again to put it away without consuming it.
🔧 Installation
-
Place the inner
Silly_FishSlapfolder containingfxmanifest.luain your resources directory. -
Set
Config.Frameworkto'auto','vorp'or'rsgcore', and chooseConfig.Language = 'DE'or'EN'. -
Set up the
toterfischitem: VORP servers can use the optional oxmysql setup or importitem.sqlif the schema matches; RSGCore servers must add the item to their shared item definitions and inventory setup. -
Add the supplied
toterfisch.pngto your inventory's item-image directory if needed. -
Start the resource after your selected framework and matching inventory; make ox_lib available for RSGCore notifications:
ensure Silly_FishSlap -
Configure the item, attachment and attack settings in
config.lua; customize messages inconfiglang.luaor throughConfig.Textoverrides.
The optional database setup runs when oxmysql is available and a supported item table is found. Custom inventory schemas and RSGCore shared item definitions may require manual setup.
📦 Dependencies
| Dependency | Required | |---|---| | RedM | ✅ | | Server-visible player peds and positions | ✅ for range checks and fish synchronization | | VORP Core or RSGCore | ✅ one of them | | VORP Inventory or RSG Inventory | ✅ matching the selected framework | | ox_lib | ✅ for RSGCore notifications | | oxmysql | Optional, for automatic database item setup | | Configured fish item in the selected inventory | ✅ |
Server checks rely on server-visible player/entity state (OneSync/state awareness).
🌐 Framework & Language Support
Choose VORP or RSGCore, or leave Config.Framework = 'auto' for automatic detection. If both cores are running, auto mode selects VORP; use an explicit setting to choose RSGCore.
| Framework | Core | Inventory | Notifications |
|---|---|---|---|
| VORP | vorp_core | vorp_inventory | VORP tips |
| RSGCore | rsg-core | rsg-inventory | ox_lib |
German and English notification packs are included. Set Config.Language to 'DE' or 'EN'; German is the default. configlang.lua contains the translations, and Config.Text can override individual messages.
⚙️ Configuration
-
Config.Framework/Config.Language— framework selection and DE / EN messages. -
Config.Item/Config.FishProp— inventory item and fish prop model. -
Config.ItemLabels— item label used by the optional database setup. -
Config.Attach— hand bone, position and rotation. -
Config.AttackControl,Config.AttackRange,Config.TargetAngle— controls and target selection. -
Config.AttackCooldownMs/Config.HitDelayMs— attack timing in milliseconds. -
Config.Damage,Config.KnockdownChance,Config.RagdollDurationMs— scripted hit effects. -
Config.BreakChance— percentage chance to consume a fish after an accepted hit. -
Config.SyncDistance/Config.SyncIntervalMs— nearby visibility radius and update interval. -
Config.Text/configlang.lua— notification overrides and translation packs.
🎬 Video Preview
:writing_hand: Come Join our Discord
🔗 Download
| | | |---|---| | Code is accessible | Lua source and configuration are included in the current resource | | Subscription-based | See store listing | | Lines (approximately) | ~1589 active Lua lines, including config, locales, bridge and item setup; excludes manifest | | Requirements | RedM + VORP or RSGCore + matching inventory; ox_lib for RSGCore notifications | | Support | Yes |

