Jump to content

[scarCODE] P.S.R. (Player Support Requester)


IT07

Recommended Posts

/////// scarCODE hpp files ///////
#include "scarCODE\global.hpp" // Needed if you use any menu from scarCODE
#include "scarCODE\PSR\main_PSR.hpp" // Remove line if you do not have PSR
#include "scarCODE\SIM\main_SIM.hpp" // Remove line if you do not have SIM
#include "scarCODE\SCMP\main_SCMP.hpp" // Remove line if you do not have SCMP
#include "scarCODE\SAR\main_SAR.hpp" // Remove line if you do not have SAR
//////////////////////////////////
class cfgFunctions
{
    /////// scarCODE functions ///////
    class scarCODE
    {
        tag = "SC";
        class PlayerSupportRequester
        {
            file = "scarCODE\PSR\functions_PSR";
            class getPsrCost {};
            class getPsrData {};
            class getPsrSetting {};
            class handlePsrTask {};
            class loadPsr {};
            class reLoadPsr {};
            class sendPsrRequest {};
            class showPsrLive {};
            class initPSR { postInit = 1; };
            class initPSR_SA { postInit = 1; }; // Remove this line if using SCMP
        };
        
        class SIM
        {
            file = "scarCODE\SIM\functions_SIM";
            class getliveSimData {};
            class getSimSetting {};
            class setLiveSimData {};
            class setSimContent {};
            class setSimCtrlText {};
            class loadSIM {};
            class initSIM { postInit = 1; };
            class initSIM_SA { postInit = 1; }; // Remove this line if using SCMP
        };
        class SCMP
        {
            file = "scarCODE\SCMP\functions_SCMP";
            class getSmpSetting {};
            class scmpOpenSel {};
            class loadSCMP {};
            class initSCMP { postInit = 1; };
        };
        
        class SAR // Simple Ammo Repack
        {
            file = "scarCODE\SAR\functions_SAR";
            class sarPackMags {};
            class sarGetData {};
            class loadSAR {};
            class initSAR { postInit = 1; };
        };
        class introCredits // Server Intro Credits
        {
            file = "scarCODE\introCredits";
            class initCredits { postInit = 1; };
        };
        class introCamera // Server Intro Camera
        {
            file = "scarCODE\introCam";
            class initCamera { postInit = 1; };
        };
    };
};
	

Link to comment
Share on other sites

/////// scarCODE hpp files ///////
#include "scarCODE\global.hpp" // Needed if you use any menu from scarCODE
#include "scarCODE\PSR\main_PSR.hpp" // Remove line if you do not have PSR
#include "scarCODE\SIM\main_SIM.hpp" // Remove line if you do not have SIM
#include "scarCODE\SCMP\main_SCMP.hpp" // Remove line if you do not have SCMP
#include "scarCODE\SAR\main_SAR.hpp" // Remove line if you do not have SAR
//////////////////////////////////

Put that in description

class cfgFunctions
{
    /////// scarCODE functions ///////
    class scarCODE
    {
        tag = "SC";
        class PlayerSupportRequester
        {
            file = "scarCODE\PSR\functions_PSR";
            class getPsrCost {};
            class getPsrData {};
            class getPsrSetting {};
            class handlePsrTask {};
            class loadPsr {};
            class reLoadPsr {};
            class sendPsrRequest {};
            class showPsrLive {};
            class initPSR { postInit = 1; };
            class initPSR_SA { postInit = 1; }; // Remove this line if using SCMP
        };
        
        class SIM
        {
            file = "scarCODE\SIM\functions_SIM";
            class getliveSimData {};
            class getSimSetting {};
            class setLiveSimData {};
            class setSimContent {};
            class setSimCtrlText {};
            class loadSIM {};
            class initSIM { postInit = 1; };
            class initSIM_SA { postInit = 1; }; // Remove this line if using SCMP
        };
        class SCMP
        {
            file = "scarCODE\SCMP\functions_SCMP";
            class getSmpSetting {};
            class scmpOpenSel {};
            class loadSCMP {};
            class initSCMP { postInit = 1; };
        };
        
        class SAR // Simple Ammo Repack
        {
            file = "scarCODE\SAR\functions_SAR";
            class sarPackMags {};
            class sarGetData {};
            class loadSAR {};
            class initSAR { postInit = 1; };
        };
        class introCredits // Server Intro Credits
        {
            file = "scarCODE\introCredits";
            class initCredits { postInit = 1; };
        };
        class introCamera // Server Intro Camera
        {
            file = "scarCODE\introCam";
            class initCamera { postInit = 1; };
        };
    };
};

put that in missionfile\epoch_config\Configs
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...