Son1Q
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Posts posted by Son1Q
-
-
I want use other dll in my client-side project (C#), but when i start server, i receiv errors in clientside_cs.txt
CS0246: The type or namespace name 'Contracts' could not be found (are you missing a using directive or an assembly reference?)
-> C:\RAGEMP\client_resources\127.0.0.1_22005\cs_packages\AccountScript.cs:0
Can i use other dll in my client-side? -
Solved. Topic can be closed.
-
I downloaded npm package 'ragemp-c', but when i try call functions from 'mp' object i received error 'ERROR ReferenceError: mp is not defined'.
import { Component } from '@angular/core'; declare var mp: any; @Component({ selector: 'app-counter-component', templateUrl: './counter.component.html' }) export class CounterComponent { public currentCount = 0; public incrementCounter() { this.currentCount++; console.log(mp); mp.trigger('test'); } }
What could be the problem?

ExecuteJs TS
in Discussion
Posted
How i can call typescript function in selected component from client-side?
ExecuteJs not found functions, because angular uses scopes.