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.

minipunch

Members
  • Joined

  • Last visited

Everything posted by minipunch

  1. You have the right idea I believe! Because the post below explains what you say to do pretty much! I think that's it! I am going to try it out right now. Thanks a lot partner!! I'll edit this post right down here to let you know if it works like I want after I try it out! EDIT: yes, it works like a charm. Thank you @ainesophaur and @PNWParksFan!
  2. So I have been trying to use functions like void GIVE_WEAPON_OBJECT_TO_PED(Object weaponObject, Ped ped) and void ATTACH_ENTITY_TO_ENTITY(Entity entity1, Entity entity2, int boneIndex, ...) or .AttachTo(); to try and make my spawned ped hold a cigar in his/her hand but none of them have worked. The closest I have gotten was to just spawn the cigar in game (floating in mid-air or on the ground), without the peds holding them like they should. Does somebody know of a good (or working) way to make a spawned ped hold a spawned object? Thanks, minipunch
  3. Were you ever able to figure it out, Darkmyre? I am currently in this same position. I'm trying to give a spawned ped a cigarette.
  4. Wow! This seems awesome! Nice work man!
  5. Awesome. That's the answer I was looking for! Thanks mate.
  6. After looking at other releases, as well as many other examples I am still confused on when exactly I should be starting a new GameFiber? Is it only when you are going to use the GameFiber.Sleep() command? I am curious if starting a new GameFiber would help prevent my plugins from crashing? Can someone clear this up for me? Much appreciated, minipunch
  7. Thank you for your response, Darkmyre. You're right. I didn't need that Rage.Attributes line, but that wasn't the entire problem. I was also putting my compiled .dll file into the wrong folder. It needed to go into the "../plugins/LSPDFR" folder instead of just "../plugins" folder. I realized this after looking closer at the folder structure of other people's call out releases.
  8. Hello, I am trying to make my first call out plugin for LSPDFR. I have looked over every post in this forum, as well as follow examples line by line from LukeD's "API Example", however I keep running into the same silly problem. Apparently, my call out plugin doesn't have a suitable entry point. Even though I literally copied over everything from one of LukeD's example callouts (making sure to mimic the folder structure precisely). I am under the impression that by default RPH checks for the first static function that returns void named "Main" as an entry point. But if you look at ANY callout (examples from LukeD, or even releases that I have decompiled to see how they work) none of them have a function that fits the requirement for a 'suitable entry point'. The only thing they all have is a constructor with the same name as the class that inherits from 'Plugin', that is (usually) left blank. I've tried changing LukeD's example call out's "main" constructor to be static and have a return value of void so that it meets the default 'suitable entry point' requirements, and that allowed me as far as to load the plugin in game, but the call outs were not being registered because I also had to include an infinite while loop in order for the call out not to end immediately after loading the main function (which is clearly not what I wanted). So then I tried actually defining a new EntryPoint using (notice "EntryPoint = "Initialize") [assembly: Rage.Attributes.Plugin("TESTCALLOUT2", Author = "MINIPUNCH", Description = "BY MINIPUNCH", EntryPoint = "Initialize")] to try and make the plugin load. But this doesn't work because I guess the initialize function isn't a valid entry point either. Could this be because I am using Visual Basic 2015 instead of Visual Basic 2013? I can't think of another reason why, after mimicking the format of other working examples, my plugin won't load. ----------CONSOLE SCREENSHOT---- (split due to text overflow) http://postimg.org/image/r6gv93u3b/ http://postimg.org/image/45ttnfos9/ ----------MY SOURCE FILES------------- Here is the entire code for Main.cs (which is copied straight from LukeD's example): http://pastebin.com/Ee5c4C2j Here is the entire code for the single call out class I have (which is copied straight from LukeD's example): http://pastebin.com/uq9cvSGA Sorry for the long post, but I sure hope someone can figure out what I am doing wrong here. The only thing I can think of at this point is it is because I am using visual studio 2015 instead of 2013. I greatly appreciate your time.

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.