Author Topic: Gui help  (Read 3951 times)

Oh duh! Sorry I meant, if the gui is activated from a brick. I want to know if the person activating it is the brick owner.

Code: [Select]
function fxDtsBrick::onActivate(%this,%player,%client,%pos,%norm)
{
    if(%client $= %this.getGroup().client)
        blah
    parent::onActivate(%this,%player,%client,%pos,%norm);
}

Something like that.

You're mixing up client and server sided code. What are you trying to do exactly?