Advertisement
fastman92

SCMlimits.h

Feb 22nd, 2015
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma once
  2.  
  3. namespace Game_GTASA
  4. {
  5.     class SCMlimits
  6.     {
  7.     public:
  8.         static unsigned int iMAINsegmentSize;
  9.         static unsigned int iMissionSize;
  10.  
  11.         static unsigned __int8* CTheScripts__ScriptSpace;
  12.    
  13.         // Returns script space size
  14.         static unsigned int GetScriptSpaceSize();
  15.  
  16.         // Sets max size of main.scm
  17.         static void SetMaxMAINsegmentSize(int maxMAINsegmentSize);
  18.  
  19.         // Sets max size of mission
  20.         static void SetMaxMissionSize(int iMaxMissionSize);
  21.  
  22.         // Patches script space limits, should be executed when limits are set.
  23.         static void PatchScriptLimits();
  24.     };
  25. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement