Blockland Forums > Help

An add-on is restricting onActivate to admins

Pages: (1/1)

TristanLuigi:

I have an add-on installed that is causing onActivate to be restricted to admins, and I have no clue what it is. I tried installing Restricted Events, but it didn't solve it with it enabled or disabled. At first, I figured it was environmental events, but disabling it still caused onActivate to be restricted. Any idea what add-on this could be?
Add-On List: http://pastebin.com/sDdXhDSH

There's also an add-on making items impossible to pick up if they aren't yours in a minigame.

Zeblote:


--- Quote from: TristanLuigi on July 30, 2013, 10:19:15 PM ---There's also an add-on making items impossible to pick up if they aren't yours in a minigame.

--- End quote ---
I want to know hat it is.

Zeblote:

Okay, onactivate is admin only because of Event_Owner doing this:


--- Code: ---registerInputEvent("fxDTSBrick","onActivate","Self fxDTSBrick" TAB "Player Player" TAB "Client GameConnection" TAB "MiniGame MiniGame" TAB "Owner(Player) Player" TAB "Owner(Client) GameConnection",1);

--- End code ---

Notice the 1 at the end which should be a 0 or left out.

TristanLuigi:


--- Quote from: Zeblote on July 31, 2013, 05:43:33 AM ---Okay, onactivate is admin only because of Event_Owner doing this:


--- Code: ---registerInputEvent("fxDTSBrick","onActivate","Self fxDTSBrick" TAB "Player Player" TAB "Client GameConnection" TAB "MiniGame MiniGame" TAB "Owner(Player) Player" TAB "Owner(Client) GameConnection",1);

--- End code ---

Notice the 1 at the end which should be a 0 or left out.

--- End quote ---
Aha, got to go test if disabling it makes onActivate work.
Thanks! :D

Pages: (1/1)

Go to full version