-
Notifications
You must be signed in to change notification settings - Fork 2
Modding
Yanis Guaye edited this page Jun 10, 2022
·
1 revision
game.addMod({
name: 'Hello',
description: 'Very basic mod example',
onLoad: function (mod) {
mod.log('The basic mod is loading...');
// :see_no_evil:
game.sv_cheats = 1;
mod.log('The basic mod has loaded, enjoy!');
},
onUnload: function (mod) {
mod.log('The basic mod has unloaded :(');
}
});