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
๐ฌ Watch Video Preview
:writing_hand: Come Join our Discord
๐ Download
๐ Silly Scripts Tebex Store
| | | |---|---| | 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 |

