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.

alexguirre

Members
  • Joined

  • Last visited

Everything posted by alexguirre

  1. You probably downloaded the wrong file, instead of uploading the new version I uploaded an old one, download again, it's fixed now.
  2. Did you check the example projects from RPH? You can download them here: http://ragepluginhook.net/Downloads.aspx?Category=2 This is the example about relationships, the comments in there explain how it works:
  3. Updated to Version 1.3.1 Changelog: Police Station Armory v1.3.1: Added support for RAGEPluginHook v0.39 Added new weapon components(drum magazines) from 'Further Adventures in Finance and Felony' update Police Station Armory Loadouts Creator v1.2.1: Added new weapon components(drum magazines) from 'Further Adventures in Finance and Felony' update
  4. Released an update. You just posted the comment while I was going to hit the release button
  5. Ped.IsDead only has a getter, you can't set its value. Use Ped.Kill() instead.
  6. RAGENativeUI has been updated to version 1.4.1 Changelog Added support for RAGEPluginHook v0.39. Doesn't support previous versions. Common.GetPressedKeys() now returns an ICollection instead of an IList. Removed unnecessary BarTimerBar.Text property.
  7. RAGENativeUI calculates the size necessary for the description box, I'm not too familiar with that code and probably '~n~' is messing it up. From a look at it, it seems that it gets the total words count, then loop through them and measure them and when it's needed inserts '\n'(new line). I don't think you could add new line, though you could try using System.Environment.NewLine or '\n' and see what happens. Can't you make the description with only one line? Also you could try to set UIMenu.FormatDescriptions to false and add the new lines yourself.
  8. Ah, you were talking about the BarTimerBar, in your first post you said it was the TextTimerBar. The Text property in BarTimerBar doesn't have any use, I don't know how that ended up there if it happened while I was porting that code or if it was the original author. Use the Label property instead, the Label is the text at the left and the Text(in TextTimerBar) is the text at the right. BarTimerBar.Text will be removed in the next version.
  9. Well, could you post the code you used? The timer bars code isn't too complex, you can see the Text propertie is very simple(https://github.com/alexguirre/RAGENativeUI/blob/master/Source/Elements/TimerBars.cs).
  10. Yes, use the Text property.
  11. Did you read what I said? I said that you have to encapsulate that in a new GameFiber. public static void OnItemSelect(UIMenu sender, UIMenuItem selectedItem, int index) { GameFiber.StartNew(() => { // your code });
  12. *It won't be fixed, it will be a new feature That was intentionally made that way for some reason.
  13. 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, OnItemSelect gets called in the FrameRender via RAGENativeUI, if you need to sleep it, encapsulate that code in a new GameFiber. Also after you finished using objects that implement the IDisposable interface(e.g. SoundPlayer) call the Dispose() method, or use the using statement: System.Media.SoundPlayer player = new System.Media.SoundPlayer(Megaphone.Properties.MegaphoneRes.CARONFIRE_1); player.Load(); player.Play(); player.Dispose(); //I recommend you to use the 'using' statement using(System.Media.SoundPlayer player = new System.Media.SoundPlayer(Megaphone.Properties.MegaphoneRes.CARONFIRE_1)) { player.Load(); player.Play(); } // This way you don't forget to dispose the object, it's done automatically.
  14. Not sure(I didn't write that part of the code, was Guadmaz who wrote it originally), this is what's done in the constructor: _items = new List<dynamic>(items);
  15. Ah ok, the only way possible currently would to delete and create it again as explained above. The reason for it is that RNUI creates a copy of the list you passed to the item so any changes you made to it won't be reflected in the item. Probably, I'll add some way to update the list in the item in the next version, if you have any other request you can create an issue in the Github repo.
  16. What do you mean with "refresh a list item"? In the latest version of RNUI UIMenu.Reset() has been added, it sets all list items indexes to 0 and unchecks all the checkboxes.
  17. There isn't any built-in class in RPH for pickups. If you aren't going to use a lot the pickups just use an uint as the handle or a PoolHandle, whatever you prefer. If you are going to use them a lot I recommend you to create a class, a little example of how to do it:
  18. Use the InitializationFile class from RPH(http://docs.ragepluginhook.net/html/DEEB0B71.htm). Previous topic about the same thing:
  19. 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.
  20. 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'.
  21. You can use Vehicle.Mods(http://docs.ragepluginhook.net/html/1D89D883.htm). The only modifications that are missing in that class are the added ones for the Lowriders update or any other recent update, for the the modifications that aren't there you will have to use SET_VEHICLE_MOD.
  22. You have to create a class that inherits from the Ped class, then you can add any methods or properties to that class. And instead of using 'new Ped()' in your code you use 'new MyPed()' Example from RPH:
  23. It should as simple as switching references unless the new RPH update has changed methods from existing methods that you used. In that case, after switching the reference, Intellisense will tell you where the errors are, then read the changelog to know what has been changed and fix it. And finally compile it.

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.