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.

MayoInYourMouth

Members
  • Joined

  • Last visited

  1. Personally, I use STP Menus more than Traffic Policer, so I recommend going though Traffic Policer keybinds and giving most things a modifier key like Left Control and using STP.
  2. So for the past hour or two, I have been trying to find songs to put on Self radio that would be good for patrol. I know this is purely subjective and different from person to person. But, What music do you listen to while out on patrols? Favorite Songs? Recommendations?
  3. Any chance i could VC you on discord or something? My code has changed a bit since I last posted.
  4. So, I'm still trying to kinda perfect this menu thing I have going. I got the menus work with the help of you all. But I've run into the issue where after I close a UI menu, and come back to open it, it opens another one. I've tried using _menuPool.CloseAllMenus();, but when I open the menu again it layers it on top of the other, so the text gets more and more bold everytime I open the menu. My code can be found here -> https://pastebin.com/hvmUgcfN I apologize if the code is sloppy. Once I fix this issue, I should be able to move onto adding proper functionality to the menus and make a proper release. PS. You guys are awesome. I got my last answer pretty quick and again, I do apologize for posting so much, I'm a straight up noob.
  5. Dude, you are awesome! Thanks a bunch. I hadn't thought of it like that when I was typing the code. A thousand times, thank you.
  6.    MayoInYourMouth reacted to a post in a topic: C# Help. UI Ignoring Logic?
  7. So apologies if my script here seems super messy or just plane wrong, I am super new to coding in C#. I've been having issues with the UI for a couple hours and I finally kinda got it working. The script right now is supposed to open up a menu whenever a player gets close enough to a Vector3 location. (Left out that part of the script so it wouldn't be too much) So I can get the menu to activate perfectly fine. That part pretty much works as intended. But for some reason the "else if " line wants to fire too, even when the logic is wrong. Pretty sure this is user error but I'm honestly at a loss. Any help would be awesome! Code can be found below. https://pastebin.com/jRXPFrrp
  8. So, I'm trying to work on making a menu with RageNativeUI from scratch and I've wasted hours watching Youtube, and reading through the 10 pages of documentation I could find aaaand I'm practically pulling my hair out. Could someone explain the uses of RefreshIndex and ProcessControl? I can't figure out where I need to use them and why.
  9. So, apologies if I post this in the wrong section or anything like that, I'm still kinda new to all this. I am trying to store a few map coordinates in an array in c# and I'm having a bit of trouble figuring out how to store them. Below is what I tried a second ago, but I've been messing with it for about 15 minutes and im lost. What is the proper way to do this? Vector3[] hotelLocation = new Vector3[3]; hotelLocation[1] = (436.8632f, 216.6585f, 104.1104f); Edit: So I figured out what I was doing wrong and I did fix it. The solution I found is below. Vector3[] hotelLocation = new Vector3[3]; hotelLocation[1] = new Vector3(436.8632f,216.6585f,104.1104f); It feels super redundant. If there is a better way, someone please let me know.
  10. For sure, I'll give it a shot. I come from a basic understanding of LUA, so C# and project oriented programing in general is a pain to wrap my head around.
  11. So, I've been playing LSPDFR for quite a while and I enjoy everything about it. Love the community, love the amount of work that a lot of content creators put into their work, and I love the creativity behind a lot of plugins and vehicle models. It wasn't until recently that I started using Basic needs by Ashishcw -> https://www.lcpdfr.com/downloads/gta5mods/scripts/21785-basic-needs/ I like the idea behind the mod a hole lot, personally, I feel like with a couple more things added, more bug fixes, and some assets, this plugin could be HUGE. Then I got to thinking about how I would improve on the plugin if I was the creator of it and found myself thinking of a whole bunch of cool ideas. I looked online for guides on how to make LSPDFR plugins and only wound up finding how to make callouts. Maybe I'm not looking hard enough or maybe google hates me. But I was wondering if anyone had any resources or documentation they could point me to, I'd love to get involved and start making contributions to LSPDFR. EDIT: I do know about https://docs.ragepluginhook.net/ But I'm talking about things aside from this. Guides, tutorials, tips, etc.

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.