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.

Please Help!

Featured Replies

  • Replies 33
  • Views 2.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • alexguirre
    alexguirre

    I doubt he could go to line 131 of Functions.cs and line 579 in CalloutManager.cs, because those are classes from LSPDFR  @Fenix2525WOT the problem is that you can't sleep a FrameRender, OnItemSel

  • alexguirre
    alexguirre

    At the end of your Main() method put GameFiber.Hibenate() or a while loop if you need something to run constantly. This will prevent the plugin from reaching the end of the Main() method and therefore

  • alexguirre
    alexguirre

    Use the InitializationFile class from RPH(http://docs.ragepluginhook.net/html/DEEB0B71.htm). Previous topic about the same thing:   

  • Author
15 hours ago, alexguirre said:

At the end of your Main() method put GameFiber.Hibenate() or a while loop if you need something to run constantly. This will prevent the plugin from reaching the end of the Main() method and therefore being unloaded.

If that doesn't work you should post a bit of your code.

Should I put GameFiber.Hibernate() after every single method?

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

Do you have a while loop in your Process ()? To debug I'd use Game.LogTrivial ("Text here e.g. Ped just Created.");

Put this after things like new ped/vehicle set spawnpoint etc basically it'll let you know where the code messed up in the Rage Console/log.

When you compile your dll visual studio creates a pdb file as well, copy that to the same folder as your plugin and if an error happens the rage log will show you what line in your code caused the error.

As @alexguirre said, this is because your RAGE plugin has reached the end of its code. Add GameFiber.Hibernate() at the very end of your code.

If you're having trouble check out my development series on my youtube channel.

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • Author
5 hours ago, Albo1125 said:

As @alexguirre said, this is because your RAGE plugin has reached the end of its code. Add GameFiber.Hibernate() at the very end of your code.

If you're having trouble check out my development series on my youtube channel.

Thanks! I will watch, Albo

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

  • Author
On 06.06.2016 at 4:34 PM, alexguirre said:

At the end of your Main() method put GameFiber.Hibenate() or a while loop if you need something to run constantly. This will prevent the plugin from reaching the end of the Main() method and therefore being unloaded.

If that doesn't work you should post a bit of your code.

Thanks a lot! Can I ask one more question?

To play .wav sound shoul I type in

      using System.Media;

or RageHook has an option to do it without Windows tools?

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

11 minutes ago, Fenix2525WOT said:

Thanks a lot! Can I ask one more question?

To play .wav sound shoul I type in

      using System.Media;

or RageHook has an option to do it without Windows tools?

No, RPH doesn't have the option to play external sounds, basically because it isn't needed, you have the SoundPlayer class in System.Media. And yes you have to put that using statement, otherwise you will need to write the complete name 'System.Media.SoundPlayer'.

  • Author
Just now, alexguirre said:

No, RPH doesn't have the option to play external sounds, basically because it isn't needed, you have the SoundPlayer class in System.Media. And yes you have to put that using statement, otherwise you will need to write the complete name 'System.Media.SoundPlayer'.

Also, which method sould I use to get data from list in RageNativeUI, I mean how to know which item in list is selected?

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

11 minutes ago, Fenix2525WOT said:

Also, which method sould I use to get data from list in RageNativeUI, I mean how to know which item in list is selected?

Use UIMenuListItem.Index if you only need the current position.
If you also need also the object at that position use UIMenuListItem.IndexToItem() and, as parameter, pass UIMenuListItem.Index

  • Author
4 minutes ago, alexguirre said:

Use UIMenuListItem.Index if you only need the current position.
If you also need also the object at that position use UIMenuListItem.IndexToItem() and, as parameter, pass UIMenuListItem.Index

Yes, I thought so, thanks a million! Now I'm waiting for Ragehook to be updated for the newest GTA patch. Thanks again!

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

  • Author
1 hour ago, alexguirre said:

Use UIMenuListItem.Index if you only need the current position.
If you also need also the object at that position use UIMenuListItem.IndexToItem() and, as parameter, pass UIMenuListItem.Index

Could you tell please, how to create ant take data from .ini file for my plugin?

header.png.584c28e8d611130062860b2efc498fc2.png

Los Santos Rescue Division Developer

CLICK HERE TO LEARN MORE

 

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.