Jump to content

New to Coding


Recommended Posts

Hey guys,

I'm new to the coding game, took some visual basic in high school about 10 years ago, but I am wanting to start creating a callout script.  I am a law enforcement officer and I think i could bring some more realism to the callouts.  I just need some direction or pointers to begin the badassery haha.  Thanks.

Link to comment
Share on other sites

Hey guys,

I'm new to the coding game, took some visual basic in high school about 10 years ago, but I am wanting to start creating a callout script.  I am a law enforcement officer and I think i could bring some more realism to the callouts.  I just need some direction or pointers to begin the badassery haha.  Thanks.

Welcome to modding! You'll probably want to learn C#, as it's fairly simple to find support for, and the language that many of the developers on this site and others use. C# isn't that challenging to learn, and it'll help that you already know VB.

Once you've learned C#, LukeD has a great example on how to create callouts using the LSPDFR API and the RAGE Plugin Hook, two extremely useful sets of tools. There's quite a few informational topics in the API Development section to help get you started. Also, if you're going to use visual studio(which you should), I highly recommend using Community 2013, rather than 2015.

Edited by Straysify

Developer of the original Bait Car for LSPDFR!

Download it here

 

 

Link to comment
Share on other sites

Welcome to modding! You'll probably want to learn C#, as it's fairly simple to find support for, and the language that many of the developers on this site and others use. C# isn't that challenging to learn, and it'll help that you already know VB.

Once you've learned C#, LukeD has a great example on how to create callouts using the LSPDFR API and the RAGE Plugin Hook, two extremely useful sets of tools. There's quite a few informational topics in the API Development section to help get you started. Also, if you're going to use visual studio(which you should), I highly recommend using Community 2013, rather than 2015.

Why 2013?

Hey guys,

I'm new to the coding game, took some visual basic in high school about 10 years ago, but I am wanting to start creating a callout script.  I am a law enforcement officer and I think i could bring some more realism to the callouts.  I just need some direction or pointers to begin the badassery haha.  Thanks.

You could also use this guide to help you learn C#: http://rbwhitaker.wikidot.com/c-sharp-tutorials

Link to comment
Share on other sites

VB.NET works too, thats what I used to create my callouts. I went for realism too, haha. I'm not a police officer, sadly, so my knowledge was based on the ridealongs I've been on with my local police.

MulleDK19, one of the developers of Rage hook, recommended 2013 instead of 2015. Apparently there's a bug with the Intellisense.

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

Link to comment
Share on other sites

I'm using Visual Studio 2015 and there is a very annoying issue with IntelliSense that crashes the software every time I want to do something with Game.LocalPlayer, so trust me, choose Visual Studio 2013 instead.

Is that a widespread bug, or is it something thats isolated to Rage development?

We use VS2013 at my workplace...we haven't talked about an upgrade to 2015 yet, but it might be worth mentioning to my boss, lol.

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

Link to comment
Share on other sites

I'm using Visual Studio 2015 and there is a very annoying issue with IntelliSense that crashes the software every time I want to do something with Game.LocalPlayer, so trust me, choose Visual Studio 2013 instead.

In my experience it crashes when putting my cursor near Entity.MemoryAddress and some other random ones. Really annoying, but if I ever need to do anything and it crashes I can just load up VS 2013 for that part, or even just Notepad++.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...