CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
GSC mod loading
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vampytwist" data-source="post: 38860" data-attributes="member: 31216"><p>Create new script file in gsc studio, add the menu or patch/game mode to that new gsc file. Rename init, onplayerconnect and onplayerspawned.</p><p></p><p>Main.gsc -- On init()</p><p></p><p>[code]</p><p>if (GetDvar("gametypez") == "enter patch name here") level thread init_name_of_patch();</p><p>[/code]</p><p></p><p>then call the function :</p><p>[code]</p><p>StartGameMode("enter patch name here");</p><p>menu example</p><p>self add_option("SubMenu1", "enter patch name here", ::StartGameMode, "enter patch name here");</p><p>[/code]</p></blockquote><p></p>
[QUOTE="vampytwist, post: 38860, member: 31216"] Create new script file in gsc studio, add the menu or patch/game mode to that new gsc file. Rename init, onplayerconnect and onplayerspawned. Main.gsc -- On init() [code] if (GetDvar("gametypez") == "enter patch name here") level thread init_name_of_patch(); [/code] then call the function : [code] StartGameMode("enter patch name here"); menu example self add_option("SubMenu1", "enter patch name here", ::StartGameMode, "enter patch name here"); [/code] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Call of Duty: Black Ops 2 Scripts Questions
GSC mod loading
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top