Forget pumpkins, carve a Banana this Halloween
Garry's Mod Icon GMod Thread

Add a DarkRP Chat Command

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending chee points.
  • Post: Give chee your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.

Join the community!

Become a Bananite

Already a Bananite? Login

How do i add a DarkRP Chat command?

I want it to be like this:


The original command is a console command an it's: r_cleardecals

So can somone please give me a code or something because i really want to use this in my server. Thanks


  • Win-Zip avatar
    Win-Zip avatar Offline
    Damage Inc. Flag Affiliation: Damage Inc.
    Member Joined 8 years ago
    2,330 points Ranked 1850th
    Win-Zip avatar
    Damage Inc. Flag
    Damage Inc.
    Report post
    6 years ago:
    I can't guarantee that this will work, but I think it will. Open up "main.lua", it will be either under "addons\darkrp\gamemode" or "gamemodes\darkrp\gamemode\". Open up the file and add the following code to the bottem of the file:

    AddChatCommand("!cleardecals", r_cleardecals)

    If that doesn't work, I would suggest posting on the FacePunch forums.
    Waiting For The Sandman avatar
    Waiting For The Sandman
  • chee avatar
    chee Offline
    Member Joined 6 years ago
    Report post
    6 years ago:
    it didnt work :( an facepunches email system dosnt work as i cant make a post


Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share


chee avatar
chee Offline
Member Joined 6 years ago

Send a Private Message to the submitter


Date Added
6 years ago
Nov 29 2010 @ 3:55am UTC
Date Updated
6 years ago
Nov 29 2010 @ 3:55am UTC

More Threads from chee