LoSantos_YT Posted August 8, 2022 Share Posted August 8, 2022 (edited) I'm not a developer to begin with, but I like to try things like this. This script works to be able to view the GoPro's of your colleagues (being a cop in this case) from a kind of tablet. Sorry if you don't understand the scripts, I am Spanish and I program in Spanish too so they are not in English. By: LoSantosYT & Alponcho Difficulty: Fácil Material used: https://steamcommunity.com/sharedfiles/filedetails/?id=2303942525 We go to the editor and make sure that your cop is named cop_1, cop_2, cop_3 ....... without interruption as cop_1, cop_2, cop_4.... https://gyazo.com/b54b9167550ebeac8133de9a60e909ef Set some object in the "comisaria" variable since this is where the cam is created when we have not yet selected a player. https://gyazo.com/630cb5d583ec216bebaf08314824153e Go to Functions.hpp and add the following at the bottom: class LoSantosYT { tag = "lsyt" class CopGoPro { file = "LoSantosYT\GoPro"; class gopro {}; class CopsDispo {}; class Conectarse {}; class OpenDialogGoPro {}; }; }; Go Functions.hpp and add: #incluye "LoSantosYT\gopro\menugopro.hpp" After this line: #incluye "derleon\Scripts_Master.hpp" Go to init.sqf and add the following line at the bottom: [] execVM "LoSantosYT\gopro\fn_gopro.sqf" ; Download the following folder and place it in your lost folder: https://mega.nz/file/0lhFDayA#KSJUejaoQm45Qazai0vfC-Zm7I-WmPdMCDA1875oRMo Put the following where you want the menu to open (a button, a key...): call lsyt_fnc_OpenDialogGoPro; In the fn_gopro.sqf file, change "JD_InvPack" to some invisible, non-collision object : cam_on = { gopro_cam = "JD_InvPack" createVehicleLocal [0,0,0]; //Invisible object class [gopro_cam, true] remoteExec ["hideObjectGlobal", 2]; gopro_cam attachTo [comisaria, [0, 0, 0]]; gopro_cam cameraEffect ["Internal", "FRONT", "camponcho"]; player setVariable ["gopro_1", true]; }; Result: https://gyazo.com/5d7c079f854983a102fff04a1ab855e0 https://youtu.be/oK_a3Net90E Edited January 22 by LoSantos_YT Update link 2 Quote Link to comment Share on other sites More sharing options...
Peragh Posted October 3, 2022 Share Posted October 3, 2022 Hey you´re Donwload link is not avabile Quote Link to comment Share on other sites More sharing options...
LoSantos_YT Posted January 22 Author Share Posted January 22 On 10/3/2022 at 11:52 PM, Peragh said: Hey you´re Donwload link is not avabile Updated 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.