1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

How do I add Commands

Discussion in 'Discussion' started by Fabulus, Dec 23, 2013.

  1. So I have this command

    /paceditor

    and anyone can use it, I want operator + to use it so I don't have people changing their model

    I have this:

    COMMAND = Clockwork.command:New("PACEditor");
    COMMAND.tip = "Opens the PAC editor.";
    COMMAND.flags = W;

    -- Called when the command has been run.
    function COMMAND:OnRun(player)
    player:ConCommand("pac_editor")
    end;



    COMMAND:Register(COMMAND, "PACEditor");
     
  2. Polis

    Polis Guest

  3. It is a plugin, It was originally a plugin to make people who have the W flag let them wear the pac they made, but if they use a premade one it will change their model
     
  4. That doesn't actually restrict who uses PAC. Anybody can go in their console and type pac_editor
     
  5. trurascalz

    trurascalz C16 Developer Legend

    then you make it like "mysuperawesomepaceditoriwhtlotsofnumebres0q29031289378912738712897901238789" haha

    lol jk.

    You should edit pac to check clockwork flags
     

Previous Readers (Total: 0)