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.

Bhavin2707

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Bhavin2707 reacted to Stealth22 in world events/random events   
    You have to write them yourself, there is no API class that's usable right now.
    What I do is, I have a GameFiber that runs in the background (much like a regular RPH plugin), and uses a timer/stopwatch to trigger the events at a certain interval. Note that you need to do a series of checks, to make sure the player isn't already in a pursuit or a callout, make sure that any peds you get from the world are valid/actually exist, etc.
    I wrote my own base class for ambient events, which handles those checks, and any other code that is common to all the events I create. See my inheritance example on the GitHub repo...its for callouts, but the principle is the same.
    However, all of that being said, I would recommend that you get yourself comfortable with the inner workings of C# and .NET first. Rome wasn't built overnight...you should be comfortable with the concepts of programming before attempting a project like this.
  2. Like
    Bhavin2707 reacted to Albo1125 in Scripthookvdotnet or ragehook   
    Actually, you can write in any CLI compliant language. That includes C++/CLI too.
    I'd recommend using C#, however.
  3. Like
    Bhavin2707 reacted to LukeD in Scripthookvdotnet or ragehook   
    This question had nothing to do with getting mods to work, it was asking if developing LSPDFR plugins required RPH. Please read the questions rather than spewing out generic answers. This is the API development forum not a general support forum.
    The native functions are natives, they bare no resemblance to either scripthook or RPH. These are functions found in the game. Scripthook and RPH are as the names suggest, hooks into the game memory in order for developers to make use of these native functions.
    The hooks then also provide methods that wrap these functions so you can make use of them properly and allow the hook to handle it.
    Scripthook requires you to use C++ natively, or you can use additional library to make .NET plugins or lua plugins etc. RPH is a .NET application only, so you code in c#.
  4. Like
    Bhavin2707 got a reaction from Officer19 in Scripthookvdotnet or ragehook   
    Thanx for reply. . . .okkk so what is the bAsic difference In coding between Rage n scripthook i mean do the rage uses the native hashes from script hook Or it impliments itS owNN. . . ThNx again for reply
  5. Like
    Bhavin2707 reacted to LukeD in Scripthookvdotnet or ragehook   
    Yes, LSPDFR is built using RagePluginHook so it's plugins must be too.
  6. Like
    Bhavin2707 reacted to Officer19 in Scripthookvdotnet or ragehook   
    Agree with LukeD cause both are important, to get your trainer work, you will need scripthookV.
    If you want to get your LSPDFR or any other mods working well, you will need to get RPH.
     

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.