Oh golly, now I'm getting all excited~
That code you posted on the last page is painful to look at...you mis-defined a few variables, you have spare variables defined, and you were misusing functions...glad you rewrote it
post it.
registerOutputEvent(fxDTSBrick, checkMask);registerInputEvent(fxDTSBrick, "onMaskTrue", "Self fxDtsBrick\tPlayer Player\tClient GameConnection\tMinigame Minigame");registerInputEvent(fxDTSBrick, "onMaskFalse", "Self fxDtsBrick\tPlayer Player\tClient GameConnection\tMinigame Minigame");function fxDTSBrick::onMaskTrue(%this, %obj, %client){ $InputTarget_["Self"] = %obj; $InputTarget_["Player"] = %client.player; $InputTarget_["Client"] = %client; if($Server::LAN) { $InputTarget_["MiniGame"] = getMiniGameFromObject(%client); } else { if(getMiniGameFromObject(%obj) == getMiniGameFromObject(%client)) $InputTarget_["MiniGame"] = getMiniGameFromObject(%obj); else $InputTarget_["MiniGame"] = 0; } %this.processInputEvent("onMaskTrue", %client);}function fxDTSBrick::onMaskFalse(%this, %obj, %client){ $InputTarget_["Self"] = %obj; $InputTarget_["Player"] = %client.player; $InputTarget_["Client"] = %client; if($Server::LAN) { $InputTarget_["MiniGame"] = getMiniGameFromObject(%client); } else { if(getMiniGameFromObject(%obj) == getMiniGameFromObject(%client)) $InputTarget_["MiniGame"] = getMiniGameFromObject(%obj); else $InputTarget_["MiniGame"] = 0; } %this.processInputEvent("onMaskFalse", %client);}function fxDTSBrick::checkMask(%obj,%client){ if(%obj.client.Gasmask == 0) { if(%obj.getType() & $TypeMasks::PlayerObjectType && %obj.getState() !$= "Dead") { %db = %obj.getDatablock(); if(!%obj.isPlayer) { %this.onMaskFalse(%client); } else { %this.onMaskTrue(%client); } } }}
Bump~Still no event :c