Jump to content

toggle

Pending 1.3.4

Mr.MuffinMan
Mr.MuffinMan

Posted

may have messed it but is there a way to change the command to turn the event off and on , to make it into one like /jump to toggle for players? thanks 

GTx

Posted

Hi,

In the current implementation, the command cannot be changed through the config. However, you can set the command you need directly in the code. It should be used in the following format: /jump on and /jump off.

The relevant lines are 794 and 795 in the code. For example:

cmd.AddChatCommand("jump off", this, CmdToggleOff);
cmd.AddChatCommand("jump on", this, CmdToggleOn);

You can replace "jump off" and "jump on" with the commands you want to use.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.3k
Customers served
Files Sold
162.3k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.