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.

totemsteiner

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    totemsteiner got a reaction from MarcelWRLD in Script to reload LSPDFR Plugins   
    would save so much time<3
  2. Love
    totemsteiner got a reaction from Yasd in End callout with "end" key inside while loop   
    for the sake of documentation:
     
    i removed all while loops and game.fiber wait etc. and did everything with if statements.
     
    solved.
     
    thanks,
    totem
     
     
  3. Like
    You need to be careful when using GameFiber.Wait(), because what you are doing is pausing the whole lspdfr plugin.
    When pressing End while the plugin is frozen/ paused, it won't end.
  4. Thanks
    totemsteiner got a reaction from Deactivated Member in My lspdfr crashes after 30 minutes of play   
    Hi,
     
    well, i highly recommend to uninstall LSPDFR+ and Albos Arrest Manager. I would say that best practice is not to use them, as they are really outdated. Remove these Plugins and try again.
     
    You can use StopThePed for arrests.
     
    best,
    totem
  5. Like
    totemsteiner got a reaction from Dozel in My lspdfr crashes after 30 minutes of play   
    Hi,
     
    well, i highly recommend to uninstall LSPDFR+ and Albos Arrest Manager. I would say that best practice is not to use them, as they are really outdated. Remove these Plugins and try again.
     
    You can use StopThePed for arrests.
     
    best,
    totem
  6. Love
    totemsteiner got a reaction from Charlie686 in How to arrest a attacking Ped   
    hi @GTAbear
    hi @Charlie686
     
    thank you very much to both of you, i have cut my teeth on this. I was aware that the process() calls this every second, but didnt know to handle this:/
    But the switch statement in my if statement makes total sense! I overlooked that! Thanks again!!!💓
     
    Its working like a charm now:)
     
    best regards,
    totem
  7. Like
    totemsteiner reacted to GTAbear in How to arrest a attacking Ped   
    What i thinking is that this task needs a timeout or an other way to stop.
    public Task FightAgainst( Ped target, int timeout ) -should give you that. You may also try to stun the fighting Ped. Peds from callouts will surrender after a stun with stungun, but there is a problem..
    STP does not allow stungun. That is one of the absurdities in STP, and one to remember: Dont ever set limitations on what Player can do just because your plugin is loaded.
    Dictator-ship through plugin is never popular by users
  8. Love
    totemsteiner reacted to Charlie686 in How to arrest a attacking Ped   
    I'm not quite sure what GTAbear is talking about, but the problem in your code is that you are continuously tasking the suspect to fight the player.
     
    Remember what's happening in your code here. Your logic is that: Process() is looping -> so if the player is within 10f of the suspect -> and your counter is 6 -> fight the player. And because Process() happens several times a second, you are repeatedly telling the suspect to fight the player several times a second.
     
    That's why the suspect is likely to be glitching between both. You should really put your switch statement within your if statement checking if the key is down. Because that's when you want your switch statement to run.
     
    I hope this helps. Please let me know if you need further assistance getting to grips with it! 🙂 
  9. Like
    totemsteiner got a reaction from cherryaerie in Dead Ped spawns/floats in the air   
    ok, i fixed it myself, i think. I put in an
    GameFiber.Wait(10); so the peds reach the ground with their feet, and then the suspect dies with the kill command.
     
    i have to try it out with all my spawns, but looks promising,
     
    thanks,
    totem
  10. Like
    totemsteiner reacted to Yasd in i can't load my own plugin   
    A little info about a gamefiber:
    a gamefiber makes sense if you want to work with time, or if you want to wait between fixed actions.
    you start the gamefiber with gamefiber.startnew(delegate
    the next line should always be gamefiber.yield();
    it’s complicated to explain why, but important.
    In the gamefiber, you then can do: gamefiber.wait(1000);
    the 1000 is the time in miliseconds Before the next line gets executed. You can replace the number (with f.e. 10000, which would be 10 seconds.)
     
    as always, if you start a gamefiber in your process section (which loops), make sure to call the gamefiber only once.
     
    if you want a callout to end &/ or want the gamefiber to end, you can call gamefiber.abort(); , which instantly ends the gamefiber. Therefore make sure the gamefiber is not null & gamefiber.isalive
     
    more commands here.
  11. Like
    totemsteiner got a reaction from andy22296 in mute the horns of civilian cars?   
    thanks so much, didnt find it!
     
    best regards,
    totem

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.