Jump to content
RAGE Multiplayer Community

Command not found but it works | Mixing C# with Javascript


Recommended Posts

Posted (edited)

Hello,

If I mix C# and JavaScript in my script and I make one command in JS (with others made in C#), that command will work but it will say "Command not found". Is there some kind of exception handling? How to fix this? Is this a bug from RAGEMP?

Edited by BadDriver
Link to post
Share on other sites

RAGE:MP doesn't handle 'missing' commands, that's in your script that someone has coded (i assume you're using free resources you didn't make). Also if this is the case that events registered in JS and C# aren't in the same pool then maybe stick with making commands on one or the other, or just sticking with one main language.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...