ULX

Author Topic: Use "gag" with lua  (Read 1991 times)

0 Members and 1 Guest are viewing this topic.

Offline simpleee

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
Use "gag" with lua
« on: December 21, 2013, 09:35:20 AM »
How can i use the "gag" feature with lua?
« Last Edit: December 21, 2013, 09:37:11 AM by simpleee »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Use "gag" with lua
« Reply #1 on: December 21, 2013, 10:00:04 AM »
We use the "PlayerCanHearPlayersVoice" hook to implement the gag.
Experiencing God's grace one day at a time.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given