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.

epicmrjuan

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    epicmrjuan got a reaction from LMS in [WIP/REL] Epic events - Bring life to los Santos - v0.2   
    About
    Epic events is a plugin that spawn random events during your patrol around los Santos. In this topic I will announce new features, add teasers and gather more ideas.
     
     
    Plans for v0.2
    Since v0.1 was a bit buggy I hope to change that in v0.2. I’m also adding new features in v0.2, like a new event, closer interaction with peds, more possibilities with existing events, expanding existing events all over the map, a settings file and better communication in game on where an event is happening.
     
     
    Changes so far (v0.2)
     
    major
     
    -        Using rage native UI for interaction, and event menu. -        Code rewrite. -        Settings file. -        NEW EVENT: Shooting. (global event, no set posistion) -        Menu in game. Minor
    -        Expanded locations of events.  
     
    Bugs
    Did you encounter any bugs while playing? report them here: https://forms.gle/3GDMRAP9Lzmqijvh6
     
    Download
     
  2. Like
    epicmrjuan got a reaction from SzbZsmbr in Custom Random Spawnpoints.   
    Random rand = new Random(); Vector3[] spawnpoints = new Vector3[] { new Vector3(0,0,0), new Vector3(0,1,0), new Vector3(1,0,1) }; Vector3 spawnpoint = spawnpoints[rand.Next(0, spawnpoints.Length)]; Where spawnpoint becomes a random vecter3 from the array.
  3. Like
    epicmrjuan reacted to OJdoesIt in Custom Random Spawnpoints.   
    Would be suggested to have an extension:
    public static class EnumerableExtension { public static T PickRandom<T>(this IEnumerable<T> source) { return source.PickRandom(1).Single(); } public static IEnumerable<T> PickRandom<T>(this IEnumerable<T> source, int count) { return source.Shuffle().Take(count); } public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source) { return source.OrderBy(x => Guid.NewGuid()); } } //Then you can do something like Vector3[] spawnPoints = ... Vector3 point = spawnPoints.PickRandom();  
  4. Like
    epicmrjuan reacted to Dutchie77 in LSPDFR 0.4.2 - Coming Soon!   
    I saw this chic before flashing a badge - wasnt sure if it was legit (she had a freaking attitude..) she took off and I ended up shooting her... True story.
  5. Like
    epicmrjuan got a reaction from Canelo in [cancelled]   
    [cancelled]
     
  6. Like
    epicmrjuan got a reaction from LMS in [cancelled]   
    [cancelled]
     
  7. Like
    epicmrjuan got a reaction from YT.JBUDDTV in 0.4 lost suspect in pursit blip   
    I think he creates a blip on a suspect, then we he goes into pursuit and loses sight of the ped the blip doesn't go away, and he wants to know how to get the var in the lspdfr api that says that suspect is lost and that they are searching.
     
    I don't know why you would want to keep a blip on a suspect when he goes into pursuit, why don't just delete it when the pursuit is created and let lspdfr manage it.
  8. Like
    epicmrjuan got a reaction from SyeDog in Spawning Peds at target location using Coordinates   
    Hey,
     
    when you spawn a ped you can use:
    public Ped( Vector3 position, float heading ) Example:
    Ped p = new Ped(new vector3(1,1,1),7) //This will spawn a ped at 1,1,1 and with a heading of 7 When you have already spawned it and want to change it's location use: Ped.Posistion
     
    I hope this helps! let me know if there is anything else i can do!
     
    Used pages:
    Rage docs, ped constructor
  9. Like
    epicmrjuan got a reaction from SyeDog in Spawning Peds at target location using Coordinates   
    Uhmm,
     
    do this when you want to spawn it at your posistion,
    use the code you wrote when you want to change a posistion from a spawned ped.
     
    You clould store the vector and heading together by using a struct.
    Vector3 spawnpoint = new vector3(541,5461,215); Ped p = new Ped(spawnpoint, 8); Bye!
  10. Like
    epicmrjuan got a reaction from kicdjo in Spawn Locations   
    public static Vector3 GetNextPositionOnStreet( Vector3 position ) Will return a position that is on the street, instead use:
    SpawnPoint1 = new Vector3(-1029.94336f, -1604.27209f, 4.95688f);  
  11. Like
    epicmrjuan got a reaction from r.y.a.n in [removed]   
    [removed]
  12. Like
    epicmrjuan got a reaction from Giovanny881 in playscanneraudio   
    Use :
    Functions.PlayScannerAudio("AUDIONAME") As far as i know Code_4 audio does not come with lspdfr, so you will need to make your own audio files eather by extracting them from the game or, editing exsisting audio files and merge them into 1.
     
    This time I will provide the code_4 audio for you, you just need to rename these and place them in LSPDFR/ScannerAudio/_CustomCalloutFolder:
    https://drive.google.com/drive/folders/1di-5h9R4188xOFUt6faf_MnzSkdjW2uf
  13. Like
    epicmrjuan reacted to bcc4123 in [removed]   
    Yes this is one thing the game is missing , p-lease keep up your work, thank you
  14. Like
    epicmrjuan got a reaction from JohnBart in Specific Ped Characters   
    public Ped( Model model, Vector3 position, float heading ) http://docs.ragepluginhook.net/html/M_Rage_Ped__ctor_1.htm
     
    Usage:
    Suspect = new Ped("Model", Pedvector, Pedheading)  
  15. Like
    epicmrjuan reacted to OJdoesIt in Coordinates not working   
    From how you showed the code, you are spawning the vehicles before setting the coordinates of your Vector3 variables.
  16. Like
    epicmrjuan reacted to BejoIjo in Using Albo1125's APIs   
    it's in the LSPDFR+ package when you download the latest version under "API reference - Developer Only" folder.
  17. Like
    epicmrjuan got a reaction from SpikeTerm in How do you revert to old GTA V version?   
    You need to have a backup, hold shift when you start ragepluginhook then go to the last tab "Game settings" then "Revert game version"
  18. Like
    epicmrjuan got a reaction from ToastinYou in How do you code conversations with suspects/victims?   
    enum ConversationTypes { HandsUp, Donut } ConversationTypes Current = ConversationTypes.None; List<String>.Enumerator CurrentDialog; Dictionary<ConversationTypes, List<String>> DialogMessages = new Dictionary<ConversationTypes, List<string>>() { { ConversationTypes.HandsUp, new List<string>() { "how your doinng",   "Very well oficer" } }, { ConversationTypes.Donut, new List<string>() { "mmm a donut!" } }  
    Current = ConversationTypes.Donut; CurrentDialog = DialogMessages[Current].GetEnumerator();     if Game.LocalPlayer.Character.Position.DistanceTo(Call) <= 60f) { if (Game.IsKeyDown(Settings.TalkKey)) //This is in a ini file { if (CurrentDialog.MoveNext()) { Game.DisplaySubtitle(CurrentDialog.Current, 7500); } } } https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx
     
    Does this help? of you have any more problems feel free to tell them.
     
     
  19. Like
    epicmrjuan reacted to ToastinYou in Changing Ped Clothes?   
    http://ragepluginhook.net/PedModels.aspx
    http://docs.ragepluginhook.net/html/DD2989FF.htm
  20. Like
    epicmrjuan got a reaction from ToastinYou in Changing Ped Details?   
    Please use the search fuction of this forum, you can get quite a lot of answers that way.
  21. Like
    epicmrjuan got a reaction from Albo1125 in Changing Ped Details?   
    Please use the search fuction of this forum, you can get quite a lot of answers that way.
  22. Like
    epicmrjuan reacted to LowRid3R in ELS enable lights/siren   
    @epicmrjuan i'm facing the same issue. Problem is that ELS is coded with scripthook. 
    Problem is without the help of the developer its not possible to access it with ragehook as we would need the entrance point of the assembler file ( *.asi ) to access the function and assign it to an entity in Rage...
     
    So from my point, will stop with ELS integration within my callouts...
  23. Like
    epicmrjuan got a reaction from thegreathah in Did Rockstar disable modding ?   
    Solution for Windows 10 & above; Step 1: Right-click This PC, and select Properties from the menu.
    Step 2: Choose Advanced system settings in the System window.
    Step 3: When the System Properties comes up, go to Advanced from top.
    Step 4: Under Performance, click Settings.
    Step 5: When Performance Options comes up, go to Advanced from top.
    Step 6: Click Change under the Virtual memory.
    Step 7: When Virtual Memory window comes up make sure The First Line is unchecked, Then Select Driver C in The List, Then click Custom size down below The List.
    Step 8: When you make Custom Size active, Initial size and Maximum Size become available for entering number.
    Step 9: You have to write a number which definitely more then Recommended, close to your actual Ram(GB); for example My Ram is 8GB, Recommended paging file size is 1912MB, but I entered 5120MB for both Initial Size and Maximum Size.
    This might work.
  24. Like
    epicmrjuan reacted to Albo1125 in Follow   
    @ainesophaur Oh absolutely, I agree. I'm not trying to put anyone down.
    However, I'm guessing you missed the edited post above my reply (which was complaining they were coming too close).
    Seems like I encouraged him to try changing the numbers passed to the function instead of having us do it for him ^.^
  25. Like
    epicmrjuan reacted to ainesophaur in Follow   
    While I partially agree, I don't feel it's our place to put down someone looking for help.. It's why the forum exists (yes it was an API discussion forum but it's grown since the sub forum was created)
    This is one of the only forums where people can get great help..the rage forum is dead. It's extremely overwhelming for new developers who never worked with c# before (or any type of coding)
    With all of that said.. OP.. Here are some suggestions. They're quite short
    1. When you're trying to figure out how to do something in the game look through the Rage api documentation.. Specifically the Entity, Object, Ped, Vector3 and Vehicle classes.. 9/10 what you're looking for is there
    2. Experiment a little.. You won't destroy anything with wrong ideas.
    3. Try to collect a few problems that you can't figure out and make a post
     

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.