![]() ![]() Custom Named Scripts Specifics #Ĭustom scripts can be organized efficiently as well.Īny script the game parses will also have its includes parsed as well as long as they are in the same folder or a subfolder of that folder. Therefore, always use ReplaceFunc() in a main() of a custom script. ReplaceFunc() MUST always be called before the function you want to replace is called otherwise it won't have any effect. You can get around this limitation by overriding the entire script by placing it in the same sub path it expects in storage/gamename/, or overriding all the functions it calls.įor example if you wanted to replace maps/mp/gametypes/_globallogic.gsc the path would be storage/T6/maps/mp/gametypes/_globallogic.gsc.
0 Comments
Leave a Reply. |