1. All im trying to do is call the heli in c# using the heli.call command.
     
  2. Wulf

    Wulf Community Admin

    Pretty sure that's only a client command, so you'd need use/write a plugin if you want to handle it from the server.

    If you really want to run it, you'd have to run it on a client using rust.RunClientCommand.
     
  3. Thanks for your reply.
    To explain slightly more what i am doing. I am trying to make my first and very basic plugin.
    The idea is that using a supply signal has a chance to spawn the attack chopper.

    If i was to use rust.RunClientCommand would the client that called the supply drop not need permissions to use that command?
     
  4. Wulf

    Wulf Community Admin

    If that's the case, look at my Inbound plugin to see how to listen for a supply signal. From that you'd call the console command on that player or manually create and spawn the heli entity.
     
  5. yeah but the problem is heli.call is an admin command is it not?
    meaning that if you called that on a client who was not an admin it would not work?

    Would it be easier just to manually spawn the heli entity and could you point me in the right direction to do this?
     
  6. Take a look on the Plugin HeliControl. Thats all u need :)