I'm not sure where you got that information, but it is not true. The fastest way to call a native is calling it by hash, as that removes the overhead from converting from a string to a hash first. CallByName will also still be faster than using Natives as there is no runtime binding. I am not saying that the differences are big (they are in fact almost non-existent), but dynamic invocation will always be the slowest just due to the nature of how it works. It's the same as having a static call or a VTable call, of course there is no big difference, but ultimately the indirection will cost you a few cycles.
It's not 'digging through' files, and it's a very simple copy. paste them in a folder, and when you need to, drag and drop in the main folder. This way you know for sure your back up is safe and there to use whenever.
It's all about whatever the person wants to do and thinks is better for them.
Personally, I find it to be the best addon for LSPDFR and a must have. It pretty much bundles most mods down to just one. I'm grateful for all the work Albo has done, but I really do not need three-four different mods just for one or two functionalities that I deem necessary. I also like how he set up the tow feature as well. We can actually choose to have a small towtruck, large or flatbed. I love being able to choose what we want! Plus, if you have both tow spots modded, you can actually give them both proper use.
As many of you will have noticed, my activity in the LSPDFR scene has decreased significantly over the past few months. There are many reasons for this, the details of which I won't bore you with. It mostly comes down to being busy with other things in my life, as well as LSPDFR becoming less interesting for me having played it for so long and the introduction of frameworks allowing modded GTA5 multiplayer environments (read: FiveM).
How times have changed since when I joined the community in 2015, from me taking an interest in learning to code in C# to having multiple plugins released on the site. It's been one heck of a journey here. I recall well the first 'mod' I uploaded for the LSPDFR community, which was called 'More Jail Points' at the time. This was first published for RAGEPluginHook 0.20. This later evolved into 'More Jail Points & Prisoner Transporter' and is now known as the all-so-familiar Arrest Manager. When I was contacted by @dbock1989, who was so enthusiastic about my More Jail Points & Prisoner Transporter plugin at the time, I couldn't quite believe it. He had been so kind as to create a variety of images related to the plugin (see below)! It frankly couldn't have been a more exciting moment at the time and, alongside other overwhelmingly positive and welcoming feedback, served as a major motivation factor for me to continue learning to code and create plugins.
Following this, I was looking to give more purpose to the LSPDFR traffic stop system. And so, Traffic Policer was born - a plugin originally intended to add a few ambient events related to traffic offences. This has now grown into one of my most feature-packed plugins to date. By this time, some YouTubers started using my plugins in their videos. Not only was this a great way for me to obtain feedback on my mods' user experience, I also watched @Zachary Houseknecht with great pleasure while my ANPR Hit AI lit many of his police vehicles on fire... An absolute howler: https://youtu.be/4D8HshZzWMQ?t=606
Some weeks on and Assorted Callouts was next in line. This was originally created out of a callout idea by @CaptainSugarFree and turned into what is now known as the Pacific Bank Heist. This took about 4 weeks of intensive development to fully complete (and am I shocked at the code quality looking back at it now... works though). As the first of its kind, the callout featured voice-overs and an intense, detailed SWAT based LSPDFR callout. I was incredibly proud for this to be featured on @Jeff Favignano's channel and I see now that the video in question has amassed over 1.9 million views... breathtaking. https://www.youtube.com/watch?v=eIXKvUyzylA
Moving on again. At this point, @FinKone had managed to get me into YouTube. After having released British Policing Script, longing for an LSPDFR experience closer to home for me, many longed a version of the plugin for international and American users to incorporate the traffic stop improvements and a court system. With that, I released LSPDFR+ by doing my first ever YouTube live stream, which was quite the experience. After this, I released Siren Mastery, PoliceSmartRadio and a variety of other tools and smaller plugins. Many hours of coding, effort, stress, giving support and obtaining feedback had been put in by this point. I was absolutely chuffed to then achieve one million downloads on my published files...
This figure has since risen to over five million.
Following some negative coverage of LSPDFR in some of the Australian media, I'm also very happy that Wired UK decided to publish an overwhelmingly positive article on the whole GTA5 police modding scene: https://www.wired.co.uk/article/gta-5-mods-lsdpfr-british-police?utm_content=buffer9ca53
After PoliceSmartRadio's release - with the infamous April FoolsRadio download giving four thousand people a perhaps frustratingly good laugh - I placed the whole modding scene lower in my priority list. As mentioned previously, this has since been pushed far further down.
Some thoughts on the community's development over time
I would describe the LSPDFR community as healthy. @Sam @LMS and all the other contributors have created something very special for all the right reasons and this is largely reflected in the attitudes of the staff & moderation team and community members. With publishing mods on a popular website like this, unfortunately, comes some drama and negativity - and while I have not always agreed with the way and speed the moderation team dealt with my reports relating to me and my work, they have done a good job overall. The few issues that I experienced were all resolved. From my experience in the plugin side of the modding scene, this continues to be the case now.
One thing I noted during the months that passed is that both experienced but particularly newer modders are now frequently treated with disdain in the scene. The modding scene has grown massively since when I first started and unfortunately, in this area, it shows. Everyone starts somewhere and the fact someone is spending their free time creating something for all of you to download, for free, has become massively underappreciated and taken for granted. Sure, a new modders' release may be full of bugs and be nowhere near as feature-rich as more developed plugins, but this takes time to solve. Had I received the negative feedback I've seen on many a new modder's release page back in 2015, you can rest assured I wouldn't have continued my development here. When providing feedback, by all means, point out the issues, but do so in a friendly, constructive manner, not in an entitled, toxic one. Have a look at the first few comments on my Arrest Manager download page to see what that is like - this was a major factor for me to consider continuing development! It is essential for the development of the LSPDFR modding community that this attitude is changed back to what it was in the 'good old days'.
With all that said, I also hope the release of LSPDFR 0.4 kicks a breath of fresh air into the now somewhat stale core LSPDFR modification. With over 2 years having passed since the latest update of the core modification, I'm sure we all agree that an update would be a very welcome step. From the various preview posts released by the development team, it looks that we all have something great to look forward to there.
'Retirement'? So does that mean you're permanently done with the LSPDFR modding scene?
No, but I won't be actively developing plugins for LSPDFR any more. To be fair, nothing's really changing much now compared to the past few months. I intend to remain as a member of the LSPDFR Testing Team and I'm sure I'll be drawn back in at some point to explore some of the new development options in the 0.4 API. I'll also stay around on my discord and occasionally the forums and I intend to continue publishing occasional videos on my Youtube channel. And yes, for those that know and enjoy it, I'm also planning to continue writing blog posts on UK road safety . If my time and motivation levels allow, I may publish some minor updates to my current mods before 0.4 is released. The fact remains, however, that I would currently classify myself as 'inactive' in the scene. With so much other stuff going on, I simply don't have the time to commit that I used to. It would be a pity to say the least to let all my work slowly deteriorate and waste away. Therefore, I've decided to publish the source code to some of my plugins to https://github.com/Albo1125/. At the very least, I would like it to be a learning resource for other ambitious plugin developers in the scene. At best, I hope other developers will take it upon themselves to improve the code where necessary (yes it is very necessary!) and create pull requests to share those improvements. These can then be merged and released, with credits obviously included for contributors.
Back when I started developing for LSPDFR, very few learning resources were available bar the great example project by @LukeD . This hasn't really changed since, despite the creation of the LSPDFR API repository by LMS (https://github.com/LMSDev/LSPDFR-API) and some posts aiming to document the LSPDFR functions by myself in the API development subforum. A noteable step was the creation of the LSPDFR Developers Discord server thanks to @Stealth22 A full post with current development resources can be found here:
I'm planning to publish the source code to a number of my plugins one-by-one to improve this and give something to the community:
Arrest Manager: https://github.com/Albo1125/Arrest-Manager
Assorted Callouts: https://github.com/Albo1125/Assorted-Callouts
Traffic Policer: https://github.com/Albo1125/Traffic-Policer
British Policing Script: https://github.com/Albo1125/British-Policing-Script
By no means do I claim that any of the code I post is perfect or amazing - on the contrary, far from it. With the experience I have now from studying a BSc in Computer Science, reading through some of my old code makes me want to tear my hair out. This is only to be expected, though - most of my plugins were created as part of my learning experience of C#. Prior to this, I had no coding experience or knowledge. It's fascinating to see how the quality of my code has evolved over time by looking at my various different plugins in order of initial release date.
Wrapping up. I hope this post provides some clarification and closure for those of you wondering where on earth I've been over the past few months. It's been an absolute blast and a pleasure. To all of you who were a part of my journey here, thank you.
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).
Since you have no interest in respecting our community members, and seem to have no issue throwing insults, I am going to go ahead and close this topic. Let me show you what Pav said to you:
Nowhere in his post was he being disrespectful. Nowhere was he even being rude to you. He offered you help, and you responded by attacking him. That will not be tolerated here. If you plan to post again on our community, please adhere to our guidelines. You don't have to like the members here, but you do need to show them respect and be nice to them, especially when they are taking time out of their lives to offer you help.
If you feel this topic has been closed in error, please report this post.
This is usually caused by lack of memory. I'd suggest keeping your mods folder as small as possible, download free GTA memory by Bejoljo (it's not in the scripts as he hasn't officially released it, but it should be somewhere on the forums) and, downloading heap limit adjuster from GTA-mods. If you've already done all this then there's probably nothing else you can do (at least, that I know of) besides increase your computer's ram.
In that case, GTA Online will also check and verify the contents of your GTA folder & sub folders. There's no other way than to make 2 GTA folders. 1 is clean original and the other is for modding/LSPDFR.