Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to call vRP functions from C#? #630

Open
Sasino97 opened this issue Oct 2, 2020 · 3 comments
Open

Is there any way to call vRP functions from C#? #630

Sasino97 opened this issue Oct 2, 2020 · 3 comments

Comments

@Sasino97
Copy link

Sasino97 commented Oct 2, 2020

Is there any way to call vRP functions from C#?
I'd like to have in my C# scripts something similar to the Proxy, so that I can then call vRP functions.
If this is not directly possible, is there a workaround?

@ImagicTheCat
Copy link
Member

ImagicTheCat commented Oct 2, 2020

If you follow the same protocol as for the vRP proxy system, then you probably can.
https://github.com/ImagicTheCat/vRP/blob/master/vrp/lib/Proxy.lua

You can also use raw event handlers.

@chaze117
Copy link

Have you found a solution?

@Sasino97
Copy link
Author

@chaze117 Unfortunately I ended up editing vRP and adding server events to do what I was trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants