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.

Tank Callout

Featured Replies

Im having a problem trying to get the ped inside the tank i put him to shot at the player and officers, but ive tried everything, any suggestions?

HOOYAAA

46 minutes ago, TitanSloth said:

Im having a problem trying to get the ped inside the tank i put him to shot at the player and officers, but ive tried everything, any suggestions?

If ped.Tasks.EnterVehicle() or ped.WarpIntoVehicle() does not work, then maybe seat index supplied to this methods is not correct ?

Have you tried both methods with seat index -2 (any available slot) ?

11 minutes ago, TitanSloth said:

@w35 i have no problem getting him in the tank, i just wanted to know how to get him to shoot the tank cannon lol

Since english is not my native language, there can be some missunderstandings on my side, but how to undestand in other way this part ?

Im having a problem trying to get the ped inside the tank

Anyway, there are natives such like :

BOOL DOES_VEHICLE_HAVE_WEAPONS(Vehicle vehicle)
static void TASK_VEHICLE_SHOOT_AT_PED(Ped ped, Ped target, float p2) { invoke<Void>(0x10AB107B887214D8, ped, target, p2); } // 0x10AB107B887214D8 0x59677BA0
	static void TASK_VEHICLE_AIM_AT_PED(Ped ped, Ped target) { invoke<Void>(0xE41885592B08B097, ped, target); } // 0xE41885592B08B097 0x920AE6DB
	static void TASK_VEHICLE_SHOOT_AT_COORD(Vehicle vehicle, float x, float y, float z, float p4) { invoke<Void>(0x5190796ED39C9B6D, vehicle, x, y, z, p4); } // 0x5190796ED39C9B6D 0xA7AAA4D6
	static void TASK_VEHICLE_AIM_AT_COORD(Vehicle vehicle, float x, float y, float z) { invoke<Void>(0x447C1E9EF844BC0F, vehicle, x, y, z); }

which may help. I didnt used this natives, but others I did, because in RPH there are still many unimplemented functions

16 minutes ago, TitanSloth said:

Thank you so much, I appreciate it, sorry about the misunderstanding :smile:

No problem:) I'm happy I could help.

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...

Similar Content

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.