[FREE][RELEASE] MFPD-Treadmill - SYNCED TO ALL PLAYERS! WALK/RUN in ANY treadmill! WORKS WITH ANY MLO/YMAP

:man_running:MFPD-Treadmill - SYNCED ANIMATION AND SOUND EFFECTS TO ALL PLAYERS!:man_running:

MFPD-Treadmill will finally give some USEFULNESS to the VANILLA TREADMILL PROP!

WORKS WITH ANY MLO/YMAPS, ETC. IT ONLY NEEDS TO HAVE THE TREADMILL PROP → “apa_p_apdlc_treadmill_s

To be able to play the sound to a radius so everyone can hear synced I’ve used PlayCustomSounds by LondonStudios.

You need to download PlayCustomSounds, rename to PlayCustomSounds (remove the -master) and inside their sounds folder and you can place the custom sounds “PlayCustomSounds\html\sounds” from my resource “run.ogg”, “walk.ogg”, “stop.ogg”

run.ogg”, “walk.ogg”, “stop.ogg” will be inside my MFPD-Treadmill (MFPD-Treadmill\html\sounds) resource, you just need to grab them copy and paste inside the “PlayCustomSounds\html\sounds”

PREVIEWS:

(Remembering again: Treadmills needs to be already spawned from a MLO/YMAP of your server or spawned by any prop spawner). My resource allow you to USE them anywhere without needing to configure anything.



DOWNLOAD FIXED, SORRY

  • This resource is able to detect any treadmill that you may be closer, and upon you press “E” close or standing on it, you’ll be quickly attached and automatically start walking with REAL WALKING SOUND!

  • NOTE: IT WILL BE ABLE TO WORK EVEN WITH MULTIPLE TREADMILLS CLOSE TO EACH OTHER! YOU CAN CHOOSE ANY SPECIFIC TREADMILL AND IT WILL BE THE CLOSEST!
  • To start RUNNING you just need to press “N” while you walk! It’s going to be a realistic transition between the animations and sounds

  • You can change the default keybind for everyone in the server by changing:
  • RegisterKeyMapping(‘stop’, ‘Stop using the treadmill’, ‘keyboard’, ‘X’)
  • RegisterKeyMapping(‘run’, ‘Start Running’, ‘keyboard’, ‘N’)
  • The bind to enter/start using the treadmill will be “E” always as It’s hardcoded, you can change, but only if you know what you are doing
  • While it’s possible to set default keybind, you can also change for yourself in-game, just go into the PAUSE MENU and there edit the keybind in the Pause Menu>Configs>Keyboard>FiveM
  • To stop using the treadmill, you just need to press “X” and it will stop any action, detach you while it plays a realistic sound and animation to simulate you pressing the “STOP” button in the treadmill.

  • After you start using the treadmill, you will be endless exercising until you press “X” to leave the treadmill.

  • NOTE2: THIS RESOURCE DOES NOT SPAWN TREADMILLS. YOU MAY USE A MLO/YMAP THAT HAS TREADMILLS OR YOU CAN MANUALLY SPAWN SERVER-SIDE TREADMILLS USING ANY PROP SPAWNER AND SPAWNING THE PROP “apa_p_apdlc_treadmill_s”, upon spawning, my resource will work in any “apa_p_apdlc_treadmill_s” spawned as it does not require to set coords.

DOWNLOAD FIXED, SORRY

Code is accessible Yes
Subscription-based No
------------------------------------- ----------------------------
Lines (approximately) 135
------------------------------------- ----------------------------
Requirements PlayCustomSounds by LondonStudios
------------------------------------- ----------------------------
Support Yes
------------------------------------- ----------------------------
10 Likes

Cool resource, but why not just use xsound?

2 Likes

Thanks! I’ve used PlayCustomSounds as it’s the resource I’m most familiar with to be able to play radius based audios to players, as I haven’t used xsound that much, so that’s why.

1 Like

But anyways, thanks for the heads up, will be checking out more xsound.

can you say to me where is the hud in the top right corner from?

1 Like

It’s my own HUD, there’s a forum post of mine about this resource:

The only difference of mine now to this one is that I’ve set custom roads/streets names in my client.lua, aside from that, you can take a look at this release if you liked.

1 Like