Reputation Activity
-
CharlieModo reacted to ainesophaur in Looking for Mentor?Don't feel bad about posting topics to figure something out.. Chances are there are other people who share your position and posting your questions here allow everyone to learn
-
CharlieModo reacted to Stealth22 in Looking for Mentor?That's if you use LSPDFR's API to request backup. But they usually spawn pretty close by.
If you want them to respond from far away, you'd have to spawn the cops yourself and make them drive to the location...which isn't difficult.
-
CharlieModo reacted to ToastinYou in Looking for Mentor?EBackup.ResponseType.Code3.Police or something for backup. @Stealth22 can tell you if he isn't busy.
Also, I believe if you spawn the new ped officer and then in rage look for something like Officer.IsDead = true;
-
CharlieModo reacted to ToastinYou in Looking for Mentor?Documents > VS 2015 > Projects > Project Name > Project Name > Bin > Debug > use the .dll and use the .pdb for debugging.
-
CharlieModo reacted to Darkmyre in Looking for Mentor?If you right-click on the project itself (the second line in Solution Explorer) and select properties, then go to the Build tab you can see and change the output path. I've set mine to my GTA installation's plugins directory, so I just have to build the project, alt-tab into the game and reload LSPD First Response to re-test
-
CharlieModo reacted to ToastinYou in Looking for Mentor?Read this (Sections 1-17 at least)
http://rbwhitaker.wikidot.com/c-sharp-tutorials
Watch this series (1-5 episodes)
https://www.youtube.com/watch?v=M8eFhD-_UP0
Use GitHub for Examples (.INI too)
https://github.com/LMSDev/LSPDFR-API
3) Use RPH console to ReloadAllPlugins after replacing the .dll of your plugin.
4) Game.DisplayNotification("Callout Ended.");
-
CharlieModo reacted to LukeD in Looking for Mentor?I don't use skype nor do I really have the time to mentor you directly so good luck with regards to that.
But some general advice is as follows:
1) Use visual studio for all development purposes, you can get the 2015 community edition for free. This allows you to "build" your source code into a DLL library for usage
2) Making an ini file I believe is something covered on the developers collaborative github found in Toastin's reply above
3) Yes, you can add post-build commands to Visual Studio to make it really simple. These actions basically copy the built DLL file into your game directory so all you have to do is alt + tab, rebuild your plugin and then reload it in the game.
Example here:
copy /Y "$(TargetDir)$(ProjectName).dll" "E:\Steam\steamapps\common\Grand Theft Auto V\Plugins\LSPDFR