void main() { object oLocks = GetObjectByTag("ty_bannerlocks"); if(GetLocalInt(oLocks, "banner3b") != 1) { PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE); SetLocalInt(oLocks, "banner3b", 1); } else { PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE); SetLocalInt(oLocks, "banner3b", 0); } }