Jump to content

Does Not Compile

Closed 1.0.0 1.0.0

Chill Roleplay

Posted

Error while compiling VehicleRegistration: Duplicate 'ChatCommand' attribute | Line: 54, Pos: 10


super exited  about this plugin and even have some ideas

SRten

Posted (edited)

Are you using any plugin have same chat command ( /rvt ) ?

Edited by SRten
SRten

Posted (edited)

If your other plugins uses those comments, (/registervehicleto, /rvt , /editregistration, /er , /showregistration , /sr , /checkregistration , /cr , /fine ,  /editfine  or /deletecase ) it will get an error on compiling. Because your other plugin using the same command.

Edited by SRten
Chill Roleplay

Posted

If i unload the commands in there a way to change these in config?

 

Chill Roleplay

Posted

i unloaded both plugins but its still not compiling any other command it might be?

SRten

Posted

Config coming soon It's not ready yet..You can change the command in .cs file. If you want, I can change the commands for you. Just told me what command you want. I am sending you a modified version.

Chill Roleplay

Posted

are you sure this is the issue? i think it might be somthing else

Chill Roleplay

Posted

The main issue was having two [ChatCommand] attributes on a single method. Rust plugins do not allow multiple attributes of the same type on a single method.

SRten

Posted

I already sent you a modified version of the code.

SRten

Posted

5 minutes ago, Chill Roleplay said:

The main issue was having two [ChatCommand] attributes on a single method. Rust plugins do not allow multiple attributes of the same type on a single method.

We can add. It's not an issue. it works perfectly.

SRten

Posted

2 minutes ago, Chill Roleplay said:

Ty for the quick support its works

No problem. If you facing any other problem please let me know. And I will update the config very soon. I'm right now working on UI.

SRten

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.0

SRten

Posted

If possible, please do an honest review of the plugin. Thank you for your purchase. 🙂

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.