Jump to content

Execute two commands with one button

Pending 1.0.4

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

2.3m

Downloads

Total number of downloads.

10.7k

Customers

Total customers served.

154.4k

Files Sold

Total number of files sold.

3.3m

Payments Processed

Total payments processed.

×
×
  • 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.