Jump to content

Execute two commands with one button

Closed 1.0.4 Next Version

hid333

Posted

I'd like to execute two commands, A and then B, with one button.
A: Chat command
B: Console command

Example: chat.say "/A"; B
I'd like to achieve this.

Is it possible to implement this?
If so, please tell me how to write it.
Example: "Command": "chat.say \"/A\",B",

Monster

Posted

I’ll be testing this out this week.
 

I’ve also noticed that you’re having issues with the buttons after GunGame.

It’s most likely a conflict between hooks in the plugins.
In my plugin, simply change the hook name and let me know if that helps.

OnPlayerDeath   -->   OnEntityDeath

Monster

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

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.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
155k
Marketplace sales
Payments
3.3m
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.