This is a sample project, for anyone looking to create some sort of arrest mechanic in their mod.
- Start by installing addon props 1.1, and follow the installation guide to move to the next step.
- Once addon props is installed, use the modernprisoncell prop that's provided in the Game Assets folder and add it to your addon-props repository as explained in the addon props readme.
- Now let's set our build target. To do this we need to first have the project open in visual studio.
- Navigate to Debug >
GTA5_Arrest Properties
. You can also double click the properties icon which is displayed inSolution Explorer
underneath the project > - Use the following image to navigate to the build events text box:
- Change both paths (e.g.
C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts
) to point to your scripts folder. - Edit & Build the project, and (if you did this correctly) you'll notice the new files (.dll & .pdb) are placed into your scripts folder.