Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request bonemind's RCON WITHOUT chat writings
#1
Guys I'm looking for some help I want to remove the chattype from bonemind's plugin but if I do something like this
Code:
warnPlayerCommand(Message, issuer);
                return ChatType.ChatNone;
                return false;
I get an error saying: Cannot implicitly convert type 'Addon.ChatType' to 'bool' anyone have a fix?
By the remove chat thing I want to lets say !warn Herp being stupid without it showing in chat.. help?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#2
Same issue.. but I'll remove the return false; part

Nope that didn't do either..
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
@JariZ @Pozzuh @Yamato help D:? @bonemind Tongue?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#4
just delete warnPlayerCommand(Message, issuer);
Reply

#5
Would it affect all the commands or?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#6
Bump maybe?
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#7
Sorry but what you are writing makes no sense. Write exactly what you want to do. Also the return type in OnSay is a value from ChatType. You can't use boolean (true/false) or other types.
[Image: azuw.jpg]
Reply

#8
Ok thanks. I'm trying to make commands not show up in chat. I want to write !ban Herp but in chat it just shows "Herp has been banned" I don't want the command to show in chat for other people to see.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#9
Then you just put
CSHARP Code
  1. return ChatType.ChatNone;

after the command. If you still don't understand then paste your code.
[Image: azuw.jpg]
Reply

#10
So no return false;? It's bonemind's plugin so you don't need the code from me. It's in the Command.cs thing I'm on my iPhone so I can't post any kind lf codes Tongue thanks for the help will try it when i'm home
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  God Mode Plugin - Everyone has rcon admin srskiller 4 6,086 08-28-2013, 19:03
Last Post: phillipito
  how to remove commands in the chat ExoGamer* 6 4,436 07-20-2013, 09:24
Last Post: Pozzuh
  Help MW3 Admin Rcon login PW guru 6 9,887 07-14-2013, 21:18
Last Post: guru
  [Request] Names, Chat and Scoreboard Mibbix 6 4,521 06-21-2013, 22:16
Last Post: Mibbix
  Help Using chat outside in game Bandarigoda123 1 3,031 06-09-2013, 12:46
Last Post: Nekochan
  [Release] Chat plugin for permissions SgtLegend 9 8,172 06-01-2013, 15:02
Last Post: SgtLegend
  [Release] Chat Locker SgtLegend 13 9,089 05-30-2013, 14:40
Last Post: SgtLegend
  In game chat shanky 12 7,649 04-25-2013, 17:47
Last Post: 8q4s8
  Usual chat Arteq 11 5,960 04-14-2013, 20:48
Last Post: Arteq
  [Request] Is there a Rcon Tool? r2range1 1 3,155 04-11-2013, 00:40
Last Post: hillbilly

Forum Jump:


Users browsing this thread:
4 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.