Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make scripts/zm/ inside your mods folder
- create your gsc file inside that directory
- make a namespace for your mod: #namespace my_mod;
- add your gsc to the mod's zone file: scriptparsetree,scripts/zm/my_mod.gsc
- find _load.gsc inside the raw scripts directory
- put that inside your scripts directory for your mod
- add that gsc to your mod's zone file: scriptparsetree,scripts/zm/_load.gsc
- edit your new _load.gsc to include your script: #using scripts\zm\my_mod;
- inside _load.gsc's main function, call your main function for your mod using it's namespace: my_mod::__init__();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement