Help
XanderID opened this issue · 2 comments
XanderID commented
I've tried OnGameModeInit console.log but no logs, neither in server-log nor in samp-node.log, Can you provide an example of a script file folder? for me to learn.
Config File: {
"entry_file": "./SampJS/index.js",
"node_flags": []
}
Index.js File:
samp.on("OnGameModeInit", () => {
console.log("Testing")
return 8;
});
or I test with samp.on("EVENT_GAME_MODE_INIT"
is not work help pls :).
XanderID commented
and when i tried use fs package and write file, file is not created
XanderID commented
That work now ty, i trying not using Folder.