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.
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Vehicle.TowVehicle Method

Featured Replies

Hi,

 

I'm having trouble getting the Vehicle.TowVehicle Method working in my code. I tried following the documentation here, but whenever I tried to call the existing vehicles in my code, the method wouldn't recognize it. It simply says that the vehicles in my TowVehicle method are not being used.

 

I have two vehicles, one I'm trying to tow, and the towtruck. They are declared at the top of the namespace with all of my other variables, 

private Vehicle TowTruck;
private Vehicle VictimVehicle;

Then, I put the towvehicle method right after all the variables, trying to use the same vehicles I declared above;

public void TowVehicle()
        {
            Vehicle TowTruck;
            Vehicle VictimVehicle;
            bool front = true;
        }

Finally, I tried calling the method by simply using

TowVehicle();

However, nothing happens, presumably because it's not using the actual vehicles I declared first. I'm new to this, so I'm definitely messing something up, either the syntax or where I'm putting the code (or both). Any help on how to get the towvehicle method working with existing vehicles would be awesome. Thanks!

I Hope You Have a Great Day 🙂

 

For Support with my Mods or to Report an Issue, Please Join My Discord: https://discord.com/invite/Wj522qa5mT

 

My Website | Donate

This is a support topic.
Only reply here to offer help or assistance to YobB1n. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

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.