Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A way to have a Ped hold an object (guitar)?

Featured Replies

Is there a way to have a Ped/Suspect hold an object, more specifically a guitar? I have the code below, doing the animation of playing the guitar, but there is no guitar in his hands. It must be possible to spawn in the item so he can hold it or something while doing the animation?

 

Suspect.Tasks.PlayAnimation(("amb@world_human_musician@guitar@male@base"), ("base"), 1, AnimationFlags.Loop);

 

Thank you for any help!

Depending on what trainer you're using, there should be something that says "Model Spawning". Once you open that up there should be "Animations" and "Scenarios" listed at the bottom. I'm speaking for Simple Native Trainer by sjaak327 (https://www.gta5-mods.com/scripts/simple-trainer-for-gtav) so I'm not sure if this works for other trainers. Anyways, what you wanna do is open up "Scenarios" there you can scroll through a wide variety of actions that your character can preform. For example, the action you are looking for is called "Musician". This action allows your player to either play a set of drums or guitar, both with audio. Like I said before, I'm not sure what other trainers have this, but I hope it helps.

  • Author
17 minutes ago, DeputySellars said:

Depending on what trainer you're using, there should be something that says "Model Spawning". Once you open that up there should be "Animations" and "Scenarios" listed at the bottom. I'm speaking for Simple Native Trainer by sjaak327 (https://www.gta5-mods.com/scripts/simple-trainer-for-gtav) so I'm not sure if this works for other trainers. Anyways, what you wanna do is open up "Scenarios" there you can scroll through a wide variety of actions that your character can preform. For example, the action you are looking for is called "Musician". This action allows your player to either play a set of drums or guitar, both with audio. Like I said before, I'm not sure what other trainers have this, but I hope it helps.

I know this.. I'm asking how do you get a Ped or Suspect to play the guitar. This is the API Development forum Sellars lol. I'm just looking for if there's a line of code to make a Ped or Suspect hold an object (guitar specifically). Thank you though! :)

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

8 hours ago, ToastinYou said:

I know this.. I'm asking how do you get a Ped or Suspect to play the guitar. This is the API Development forum Sellars lol. I'm just looking for if there's a line of code to make a Ped or Suspect hold an object (guitar specifically). Thank you though! :)

Haha. Sorry man, didn't see that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.