Post: I need help on how to #include other GSC so i can add more functions!
03-25-2013, 09:47 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi im stuck in my patch im making and i dont know how to add more functions into the missions.gsc im out of space my patch works right now i have everything i need in it except for like half of the functions so what do i do! i deleted all comments and stuff like //dshfjgkhjhfth or /*fjhbjfgnjgfubfgnlh*/ and stuff like that! And when i try to use the #include maps\mp\Nameof.GSC; it just gives me a bad script or whatever so can some one help?
(adsbygoogle = window.adsbygoogle || []).push({});
03-25-2013, 10:13 PM #2
TheKodingKobra
Do a barrel roll!
Originally posted by Tberry2 View Post
Hi im stuck in my patch im making and i dont know how to add more functions into the missions.gsc im out of space my patch works right now i have everything i need in it except for like half of the functions so what do i do! i deleted all comments and stuff like //dshfjgkhjhfth or /*fjhbjfgnjgfubfgnlh*/ and stuff like that! And when i try to use the #include maps\mp\Nameof.GSC; it just gives me a bad script or whatever so can some one help?


Are you putting ".GSC" at the end of it? LOL, If so this would make sense...

When You Create A New GSC And Include Another GSC, You Do Not Put .GSC At The End Of It...
For Example:
#include maps\mp\name;
Not:
#include maps\mp\name.gsc;

However, i'm not sure if you meant "nameof.gsc" as a name with ".gsc" at the end or if that's what you just put as an example name in full. xD
If This Is The Case, Make Sure You Have Accurately Defined The Location Of Your GSC And That The Name Is Also Exactly Accurate...This Includes Letter Case Accuracy.

Other Than Those Possibilities, I'm Not Quite Sure As To What You're Problem Is. :/
03-25-2013, 10:41 PM #3
yeah so like if i wanted to add the function for like secondary camo to like maps\mp\gametypes\dd.gsc i would just add this to the top of missions.gsc #include maps\mp\gametypes\dd; so it would just look like this?

#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes\dd;
03-26-2013, 01:36 PM #4
GaanjaMan
I am error
Yeah thats right and when your calling the funtion don't put maps/mp blah blah just call the function like ::lvl70 as you've already included .gsc at top
03-26-2013, 02:02 PM #5
Originally posted by Tberry2 View Post

#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes\dd;


that would work, maybe its a spelling error, or your FF Editor, I say you use The Fallens FF Compiler, it has auto-save on any changes/created rawfiles.
Hope I helped.
03-26-2013, 07:46 PM #6
thanks everyone i got itSmile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo