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

Detonate command does not work #66

Open
untuned opened this issue Dec 11, 2021 · 3 comments
Open

Detonate command does not work #66

untuned opened this issue Dec 11, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@untuned
Copy link

untuned commented Dec 11, 2021

Describe the bug
When attempting to run .detonate in the in-game console without holding the detonator item, an error is produced.

To Reproduce
Steps to reproduce the behavior:

  1. Give yourself C4-119
  2. Place it on the ground
  3. Run .detonate in the console
  4. Observe the error

Expected behavior
The C4 charge detonates.

Server logs
There are no error logs in the server's console, but this shows in the in-game console:
in-game console

EXILED Version ("latest" is not a version):
Exiled.Loader:4.1.6

Results of show plugins command in console:
https://paste.hep.gg/gymub.yaml

Additional context
It should probably show a message saying "You don't have the detonator (Radio) in your hand!" if it is enabled.

@joker-119 joker-119 added the bug Something isn't working label Dec 12, 2021
@DinoNuggets2
Copy link

You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false

@untuned
Copy link
Author

untuned commented Dec 13, 2021

You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false

I did notice this fact afterwards. Thank you!
I would like to see maybe a message saying that they don't have the required item though.

@DinoNuggets2
Copy link

Yeah, I had the same issue when I started using this plugin, that would also be cool if it told the player they need the specific item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants