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.

Make suspect shooting on other peds

Featured Replies

Hi! I'm developing a subway terrorist attack callout and i want my suspect to shoot other peds. I have added this, but doesn't work. I hope you can help me with this! thanks.

mySuspect.Inventory.GiveNewWeapon("WEAPON_CARABINERIFLE", (short) 100, true);
mySuspect.Tasks.FightAgainstClosestHatedTarget(200f, 1);

 

mySuspect.Inventory.GiveNewWeapon("WEAPON_CARBINERIFLE", 100, true);

 

theres it a tiny bit edited, you had carbine rifle spelled incorrectly, my code should work

cd.png

  • Author
16 minutes ago, vulture001 said:

mySuspect.Inventory.GiveNewWeapon("WEAPON_CARBINERIFLE", 100, true);

 

theres it a tiny bit edited, you had carbine rifle spelled incorrectly, my code should work

Okey thanks, but i dont know how to make the ped shoot on other civilians.

3 minutes ago, mmodsgtav said:

Okey thanks, but i dont know how to make the ped shoot on other civilians.

try mySuspect.Tasks.FightAgainstClosestHatedTarget(50f);

 

also i replied on your other thread

Edited by vulture001
thread

cd.png

  • 5 months later...
On 9/3/2018 at 1:07 AM, vulture001 said:

try mySuspect.Tasks.FightAgainstClosestHatedTarget(50f);

 

also i replied on your other thread

Can u tell me how to make ped shooting on cops? not only me

On 2/16/2019 at 10:54 AM, WildJam said:

Can u tell me how to make ped shooting on cops? not only me

ped.Tasks.FightAgainst(target);

or just don't block events on the ped, so they should react to gunfire

  • 1 year later...

Hello, i have the same issue. Where do i have to put this one?

I dont know where to put this Codeline.

Could somebody help me pls

 

ped.Tasks.FightAgainst(target);

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.