Author Topic: onActivate if brick owner  (Read 660 times)

How do I check if the person is the brick owner with the onActivate function?
Code: [Select]
OnActivate(%obj, %player, %client, %pos, %vec)

if ( %client == %obj.getGroup().client )

if ( %client == %obj.getGroup().client )
That wouldn't work well with multiple clients with the same BL ID.

Code: [Select]
if(getTrustLevel(%client,%obj) >= 3)That should do the trick.

That wouldn't work well with multiple clients with the same BL ID.

Code: [Select]
if(getTrustLevel(%client,%obj) >= 3)That should do the trick.
Thanks Greek.