mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working client & server
This commit is contained in:
1 parent
cff746aa38
commit
845d4acd3a
13 files changed
+4008
-4
No files matched your search
@@ -0,0 +1,7 @@
|
||||
setImmediate(() => {
|
||||
emitNet("helloserver");
|
||||
});
|
||||
|
||||
onNet("helloclient", (message) => {
|
||||
console.log(`The server replied: ${message}`);
|
||||
});
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": ["types/*"]
|
||||
},
|
||||
"outDir": "./",
|
||||
"noImplicitAny": false,
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"allowJs": true,
|
||||
"lib": ["es2017"],
|
||||
"types": ["@citizenfx/client", "@types/node"],
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": ["./**/*"],
|
||||
"exclude": ["**/node_modules", "**/__tests__/*"]
|
||||
}
|
||||
Reference in new issue
Block a user