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.

AlexanderK.

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    AlexanderK. got a reaction from ThomaasM911 in [WIP][REL] Automatic Roadblocks v2.0   
    Still updating the Plugin? Can't wait to try it.
  2. Like
    AlexanderK. reacted to PNWParksFan in Start a Controlled Fire?   
    Use the native START_SCRIPT_FIRE
    int START_SCRIPT_FIRE(float X, float Y, float Z, int maxChildren, BOOL isGasFire) // Starts a fire: // xyz: Location of fire // maxChildren: The max amount of times a fire can spread to other objects. Must be 25 or less, or the function will do nothing. // isGasFire: Whether or not the fire is powered by gasoline.  
  3. Like
    No problem, at least we now know why it does not work.
  4. Like
    I am not entirely sure how VocalDispatch works, but at least to me, your way of doing it seems fine. "el-GR" is a .NET supported culture so that should definitely work. I suspect that the underlying voice recognition API might not recognize the culture. Can you try this code example with your locale and see if it works?
     
    https://docs.microsoft.com/en-us/dotnet/api/system.speech.recognition.speechrecognitionengine?view=netframework-4.8 
  5. Like
    AlexanderK. reacted to LMS in What does GameFiber class exactly means?   
    A GameFiber is essentially its own thread. Now, why is this important? While GTA V ticks scripts one at a time (so no benefit for multiple threads here), it allows you to use the commands you already mentioned. You can spawn a new GameFiber, have it do something and then wait for 5 seconds before doing something else. This will not interrupt any other fiber or game code and RAGE Plugin Hook will automatically resume the waiting fiber after 5 seconds for you and it will continue execution. So whenever you deal with operations that need to wait or handle blocking resources, using a GameFiber might be a good idea.
     
    A word of caution though: For LSPDFR itself we have largely moved away from having many fibers like we used to in previous versions. The reason being that the code is less predictable since the order in which fibers will execute is more or less random and other plugin fibers might run in between. To save resources we like to do a few things only once per tick, which would not be possible if we used many fibers. For instance, at the start of the tick, we invalidate all entities that no longer exist and remove their internal tasks etc. This means that tasks down the road do not have to worry about running on a non-existent entity, saving us some call time as well. If we used fibers for everything like we did before, we would always have to double check. So while fibers provide a lot of benefits and are generally quite lightweight, for large scale projects they can cause more harm than good and should be used with caution.
  6. Like
    Stop saying to everyone "this is garbage" maybe they think they are nice. Have your opinions by yourself :angry:
  7. Like
    AlexanderK. reacted to Schecter004 in Hawaii Highway Patrol?   
    Hello.
    I was wondering why the Hawaii Department of Transportation has no Highway Patrol division.
    Instead the 4 counties of Hawaii are responsible for enforcing the law on state owned highways, expressways and roads.
    Honolulu PD for example is responsible for the whole Honolulu island because the city and county of Honolulu is under a single government.
    But the interstate are state owned roads.
    Some people told me Hawaii doesn't have a highway patrol because the different islands (counties) aren't connected.
    But that's not the point.
    It's state owned.
    So imo the state is responsible for enforcing the law on state roads.
    I don't talk about a state police.
    They don't need one.
    But a specific division for the highways.
    How does it work?
    Why is a county responsible for state owned property?
    Does anyone have an explanation?
  8. Like
    AlexanderK. reacted to Dingleberry in Siren?   
    Federal Signal Touchmaster
  9. Like
    AlexanderK. reacted to ForbidenKross in Callout Ideas   
    (If not allowed please advise and remove. Thank you and apologies in advance)
     
    So I have been thinking lately that there is so much room and so many areas of LSPDFR that no one has yet to explore. There are agencies that serve no purpose and (if using EUP) there are ranks that have no real purpose. I for one would love to fix this however, I don't know my a** from my elbow with LSPDFR development. So my solution, LSPDFR forums! Below I have listed some detailed ideas of call outs that would utilize the, currently, useless aspects of LSPDFR and common components. I just ask that if you use any of my ideas, please inform me upon release so I can add this to my game as well :).
     
    IAA Callouts:
    To the best of my belief, IAA is the Internal Affairs Agency which is the lore friendly counter part of the Internal Affairs Bureau (IAB) who basically police the police. LSPDFR developers have never even scratched the surface of this agency before so below is a few callouts that, if were created, would give some life to this agency.
     
    Cop Involved Shooting:
    A Law Enforcement Officer somewhere in the city (or state) has discharged his weapon and IAA is being requested to determine if the shooting was justifiable or not resulting in the officer being arrested himself or being cleared. A verdict could be achieved by interviewing witnesses, reviewing CCTV footage, civilian cell phone footage, etc.
     
    Rogue L.E.O.:
    A law enforcement officer has gone off the deep end and done something crazy like perhaps kidnapped someone, gone on a shooting rampage, or even taken a hostage.
     
     
    FIB Callouts:
    This is for more high profile stuff.
     
    FIB Most Wanted Suspect Sighting:
    Respond to the general area and search for your suspect with a helicopter over head and other agents/officers searching with you. See if you can find them. If not, go back to your regular day. If so, throw their a** in the back of a patty wagon!
     
    Bombing:
    A bombing just took place. Fire, Police, Gruppe6, SWAT, and the Bomb Squad are on scene. Get there FAST and determine, what exploded, who did it, why, where they are, and arrest them.
     
     
    Supervisory Callouts:
    There is really no place, with existing callouts, for anyone higher ranking than a Patrol Officer. I mean someone has to be leading the force.
     
    Supervisor Requested for Traffic Stop:
    Some dumb sovereign citizen thinks they know their rights better than one of your officers. Can you believe the nerve of this A-Hole? Anyway, you (the supervisor) have been requested to respond because the person feels that they are being treated unfairly by your officer. Go ahead, turn your pretty little lights on and respond to the call to mediate between your officer and the civilian. Who knows, maybe they're right for once.
     
    Call in Progress:
    Your officer(s) are responding to a call somewhere in the area, just go and supervise. I mean that is why they call you a supervisor right?
  10. Like
    AlexanderK. reacted to Nostrra in LSPDFR 0.4 - Coming February, 2019   
    You'll find this post to be a most enjoyable read. Not a direct RDE replacement, but the customisation is immense. 
  11. Like
    AlexanderK. reacted to Reddington in LSPDFR 0.4 - Epic Customization   
    AHHHHHHHHHHHHHHHHHHHHHH!
     
    Units patrolling without the need for extra mods?
     
    I can now have Los Santos County Sheriff and LSPD?
     
    and both patrolling at the same time?
     
    Character customization, including a custom character, without Skin Control and EUP?
     
    SOMEONE PINCH ME!
  12. Like
    AlexanderK. reacted to zachs33 in LSPDFR 0.4 - Coming February, 2019   
    Big flashing neon sign in the header? Public service announcement? On the news and radio? A fireworks event, perhaps? You have me curious 😛
  13. Like
    AlexanderK. reacted to Jeff Favignano in LSPDFR Flashing Lights Logo Splash   
    Hey all, I was recently asked where someone could get the flashing LSPDFR splash screen I use in my videos recently. I decided to upload it and make it unlisted. Feel free to download it with any means you need to and use it in your videos if you want!
     
     
  14. Like
    AlexanderK. reacted to Albo1125 in Open-Sourcing Albo1125's Mods & 'Retirement'   
  15. Like
    Wow, I took a big break and have just come back, and I just saw that you’re taking your leave. Thank you so much for all of your mods and hard work! I bought a PC just for lspdfr, and I cannot imagine my enjoyment being what it was without your mods. You truly brought life to lspdfr and made it so much more realistic and easy to use. I will miss seeing your creations, but I wish you only the best as you go forward. Take care!!
  16. Like
    AlexanderK. reacted to 0taku in Change the "security challenge"   
    On the topic of knowing what they say
    1st: 3ypqv1n
    2nd: 9hdbr95
    3rd:  Irh1c
     
    I find the CAPTCHA  easy, Could just be because I have messy handwriting so I can read 'chicken  scratch' but that just me.  
     
  17. Like
    AlexanderK. reacted to sugarparents in Callout Ideas   
    this would definently allow for expansion within LSPDFR. i'm tired of doing the usual high priority calls that aren't even in the agency's jurisdiction lol
  18. Like
    AlexanderK. got a reaction from Steele1925 in Callout Ideas   
    These ideas seem very interesting and I'm also interested in them!  Can I work for them?  I'm not 100% that i'll make them, but can I try?
  19. Like
    AlexanderK. reacted to Pazzi in How to make a cop pull over a ped   
    on albo's traffic stop backup callout, he spawned a ped driver with a car and a police with a car on a predefined location (Vector3).
    You just need to collect those locations from various area and put it in a list. later on you must randomize it (or get the closest one).
  20. Like
    AlexanderK. reacted to LukeD in Getting Ped details   
    Correct, I would recommend that you avoid using anything that is outside of the Mod.API namespace as it will all eventually be made internal and thus prevent you from accessing it. You'll then have to re-write code for things you're making. It's easier to just not bother for the time being and extend when it's available in the API.
    And don't forget to check out the github for common and useful code snippets that have been given to you by the keen developers.
    https://github.com/LMSDev/LSPDFR-API
  21. Like
    AlexanderK. reacted to Deactivated Member in Blips don't delete and Ped starts shaking.   
    Next time remember to add what you did to fix it in case someone had the same problem
  22. Like
    AlexanderK. reacted to Jeff Favignano in Discord Overlay and RagePluginHook   
    Hey guys if you have been having an issue like I have of RagePluginHook going to the main menu instead of launching the game with the plugins here is a fix I found if you have Discord. You need to disable the in game overlay feature in discord settings so Rage can hook into the game. I don't know why this is but it either crashes, goes to main menu or runs multiple instances. Disabling this made rage work like a charm 😉
  23. Like
    You can distinguish with 3 ways: 
    1. Having the player select their division using a menu (EUP Compatible)
    2. Automatically detecting their model using lots of if statements (Not EUP Compatible)
    3. You can do both (If player is using EUP they'll have to select their division themselves)
  24. Like
    AlexanderK. reacted to LtFlash in How to make conversation with witness   
    You can check here how to create a dialog class to reuse it in different calls:
    https://github.com/LtFlash/LtFlash.Common/blob/master/LtFlash.Common/EvidenceLibrary/Dialog.cs
  25. Like
    Thank you very much!

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.